Added an option to return a latent embedding to the ConvAutoencoder class + unit test for this case

Status Job ID Name Coverage
  Build
passed #155850
docker
build_linux_36

00:09:26

73.0%
passed #155851
macosx
build_macosx_36

00:02:08