Refactor addition of new layer into helper.
Do not inherit from object.
Simplify constructor a bit.
Move setup code mostly back to setup_layers.

Rename check_layer_sizes to much more accurate get_encoder_layers.

Move tied_weights setup code to Autoencoder subclass -- hopefully this
makes it more explicit that tied_weights is only intended for
autoencoders.