add predicate HistoryDatabase::ContainsRecycleBin()
Refactor: remove SqliteHistory::Initialize() in favor of ::PrepareQueries()
only initialize recycle bin query if supported
add more stringent assertions for writability
Merge pull request #631 from reneme/fix-history_readonly_compatibility

Fix: History Read-only Compatibility with Legacy Schema Revision