Support flashing messages

This uses Alertify for some nice bouncy overlaid alerts.

There's some parsing of the message to display those beginning with
"error:" as error messages; this can be improved as necessary.

Fixes #4.
Automatically test db connections for disconnect

For remote database connections, this prevents runtime exceptions from
the server going away.  This fixes #30.