Add split dim layer

Implement a split by dim layer.
Please take a look at https://github.com/BVLC/caffe/issues/596 comments