Corrected createschema.sql script. Made DAO test use it to recreate schema
Minor change to local configs
Refactored DAO/DB context definitions to allow DB access before DAO instantiation (which requires a prepared schema to exist already).