Refactor utility classes:

* Move getFullRevisionFromCurrentCursor to BasicDatastore
* Move makePlaceholders to DatabaseUtils
* Remove SQLDatabaseUtils