Makefile race detection

The following have changed:

`make dependencies`: install race-libs along with the other stuff
`make test`: run short tests without race detection (race detection is slow, takes a few seconds)
`make test-race`: run short tests with race detection (race detection is still much faster than slow tests)
`make test-race-verbose`: run short tests with race detection and the verbose flag
`make test-long`: now tests for race conditions
`make test-long-verbose`: now tests for race conditions