Feature/sqlite3

Replaces #2351

https://tracker.phpbb.com/browse/PHPBB3-9728