Added 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.
Merge pull request #249 from dansbecker/master

Add mlp.PretrainedLayer