Googlenet on master

This PR back merges these PRs #1096 #190 #1293 #1308 into `master` to allow training, test and deploy of BVLC Googlenet #1598 in `master`

Main difference:
 - Replaced `mean_value` with `mean_file` in `train_val.prototxt`