fix autoencoders

* extract AbstractAutoencoder for inheritance
 * resolve Model methods before Block
 * UntiedAutoencoder and DeepcomposedAutoencoder call their superclass constructor
* pep8
 * extract YAML from test_autoencoder.py
Update .travis.sh
Merge pull request #1275 from euphoris/autoencoder

Fix autoencoders