Add split dim layer

Implement a split by dim layer.
Please take a look at https://github.com/BVLC/caffe/issues/596 comments
Add another test for `set_slice_dim(1)`