randomize order of test execution by make runtest
set phase in dropout tests
add device id arg to test_net (fix #232)
proofreading and trivial polish
Merge pull request #367 from shelhamer/randomize-test-order

Randomize order of test execution by `make runtest`
set seed in neuron and power layer tests for deterministic results
default test net device to 0 and log device chosen
fix test_net to upgrade params from v0 if needed
Merge pull request #370 from shelhamer/test-net-polish

Polish test_net
Use Thrust to manage the underlying memory of SyncedMem
Implement and test SyncedMem::resize and reserve
Add Blob::capacity and make Blob::Reshape capacity aware
Merge the Blob constructors and initialize all the fields properly
Change the Makefile to be consistent in style
Use static_cast instead of reinterpret_cast to cast void pointers
minor cast/style fixes

make some casts static_casts

minor style fixes
minor makefile style/dependency fixes; move more general rule after more
specific ones (for older versions of make that take first match)
use handwritten resize methods instead of thrust host/device vectors
-- couldn't get the thrust version working at all
make TestResize less trivial given new syncedmem resize design
add net constructor that takes pointer to other net with which we will
share data blobs with matching names