Give meaningful error when starting and database is locked

Previously the app would simply hang if it started on a locked database
(another instance of bitshares was running). Now it displays an error on
the splash screen, and attempts to exit gracefully, though the network
code still crashes.