Example of pre-training with stacked denoising auto-encoder

Part of #29. An example on MNIST of using existing Mocha primitives to build a stacked denoising auto-encoder to do pre-training for hidden layers in DNN.