Moved tests into separate repex/tests/ directory

I've moved the test_*.py scripts out of repex/repex/ into repex/tests/.

This should be ready to merge.