Merge pull request #236 from jeffdonahue/test-all-bin-makefile-deps

Add libcaffe.a to dependencies for TEST_ALL_BIN
change specification of forward/backward function and fix layer
definitions appropriately
fix net_speed_benchmark so 'make all' works
make tests compile and pass
test_gradient_check_util: blobid -> blob_id
gradient checker optimization with forward pass loss: only need to run
backward pass to compute analytic gradient (the thing being checked) now
revert unnecessary reordering of lines in softmaxwithlosslayer backward
remove accidentally added empty line
fix softmax loss layer bug; all tests pass
loss in forward pass for concat layer (thought i'd rebased to latest dev
but apparently not)
null pointer defaults for forward loss outputs