Change SqliteOpenHelper to be a singleton.

Sometimes it is necessary to get access to the SQLite database in
an app. This change allows you to re-use the SqliteOpenHelper class
to get access to the databse and avoid DatabaseLocked exceptions.