Correctly namespace and autoload DatabaseException
Replace exception with standard exception