Move SQlite db selection to SchemaManager
Add selection listener to detect active project

This is just a first step and needs to be improved because this approach
ignores different projects and works only on the package explorer.