Issue #22 Reinstates Tomcat triggers, but flushes every time.
Introduces obm_db_master_host to handle master/slave configurations.
Simplifies DB creation.