Implemented contractive autoencoders

Added support for [contractive autoencoders](http://machinelearning.wustl.edu/mlpapers/paper_files/ICML2011Rifai_455.pdf) to CAutoencoder
Could you please explain what does this test tests? Would contraction_coefficient with other value lead to non-zero gradient? Can we also test non-zero gradient?