cosmetics: add syntax = proto2
Merge pull request #730 from Yangqing/sweep

cosmetics: add syntax = proto2
reapply namespace change
add Net::Forward/Backward From/To
pycaffe: expose Forward/Backward From/To as kwargs start and end
comment in net.hpp to explain subtleties of From/To on DAGs
test consistency of From/To Forward/Backward
use /usr instead of /usr/local for default Python include/lib

This makes the default settings usable with Travis/Ubuntu Python
Travis builds pycaffe
Merge pull request #732 from longjon/travis-pycaffe

Have Travis build pycaffe
Extend the ArgMaxLayer to output top k results
Add the test cases for the mulitple top predictions argmax layer
Simplify the top-k argmax layer using std::sort
Use std::partial_sort in the ArgMaxLayer as suggested by @shuokay
Move compararing function from common_layers to argmax_layer
Refactor the accuracy layer with std::partial_sort
Add more test cases for the accuracy layer
Limit the comparison functions to have file scope
Include <utility> for pair in the accuracy layer
Fix style issues in accuracy & argmax layer