Make test.py nonexecutable

I'm going to start using nose as my testrunner, which appears to
require test files to be nonexecutable by default.
Move test.py to tests/TestTransaction.py
Finish making TestTransaction.py nonexecutable
Merge remote-tracking branch 'origin/test-reorg'