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