Add mlp.PretrainedLayer

Added mlp.PretrainedLayer as more general alternative to mlp.RBM_Layer.
 Also added upward pass methods to RBM and Autoencoder classes to be
called by PretrainedLayer.