remove redundant code in ConvolutionLayer::Reshape
Merge pull request #1505 from longjon/conv-dedup

Remove redundant code in ConvolutionLayer::Reshape
initial commit of switch layer
Refactor switch_layer to use caffe_copy
Assume selector is last bottom blob to simplify indexing
If index is out of range just put zeros
Added test for switch_layer
Fix Lint
Add checks for the selector to be in range