Update layers.py, make tf.GraphKeys.VARIABLES compatible with Tensorflow v0.12.
Update layers.py, make tf.GraphKeys.VARIABLES compatible with Tensorflow v0.12.

zsdonghao/tensorlayer,zsdonghao/tensorlayer