Add Database/Exception

Adding a generic exception class for the various Database package
classes to use. This lets end developers catch database exceptions
separate from other framework exceptions.