[#560] Skip datastore sql tests in legacy mode
[#560] Pep8
[#560] Do not ensure separate read and write urls in legacy mode
[#560] Refactor _is_read_only_database
[#560] Test datastore configuration
[#560] Create indexes with names if on PG prior to 9.0 because automatic naming is not supported there
[#560] Return True, instead of printing it
[#560] Correct version comparison
[#560] Compare with bool with is instead of ==
[#560] Test pg version comparison
Merge pull request #560 from okfn/560-datastore-tests

Datastore tests aren't respecting the legacy_mode flag, index creation does not work on PG 8.4