Created by: wangyang59
changed Paddle API to support GAN (generative adversarial network) training.
Added demo/gan to generate images for cifar-10, mnist and synthetic 2d-uniform data.
Fixed a small bug in BatchNormBaseLayer.cpp so that it would not change the frameHeight and frameWeight between input and output layer.