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
use Blob directly instead of shared_ptr for ConvolutionLayer::bias_multiplier_

This will make layer reshaping easier and more uniform, and is
consistent with col_buffer_.
use Blob directly instead of shared_ptr for InnerProductLayer::bias_multiplier_
use Blob directly instead of shared_ptr for PoolingLayer::max_idx_

Again, this is more uniform, and will simplify the implementation of
Reshape.