Reshape layer

Added a reshape layer that allows to change the shape of the blobs, although it doesn't change the size. It is generalization of flatten_layer.