store bgtasks database in opmuse.database.database_data

e.g. now the database module owns the data and whoever creates a
thread has the responsibility to add the database session to it, in this
case the bgtask module
add ws_data store where thread creators can put user credentials

e.g. so ws methods work correctly in said "custom" thread