WIP [NX-525] shared database support

https://issues.sonatype.org/browse/NX-525
suggest createInstance and/or javadocs giving detail about the expense/side effects of calling this (the db will be created if needed, a connection pool will be created)