Fix repeated field copy loop

Fix lint algorithm include

Fix spaces
Correctly apply padding to pooling layers when upgrading from V0
Merge pull request #760 from bhack/fix_loopcopy

Fix repeated field copy loop
Merge pull request #762 from rbgirshick/upgrade-pad-pooling-layers

Correctly apply padding to pooling layers when upgrading from V0
cmake build system
examples CMake lists
fixed CMake dependant header file generation
fixed lint issues
cmake build configuration for travis-ci