Added constructAccountObject function for DB

Added a function to return an Account object constructed from an account
ResultSet retrieved from the database.