Added constructAccountObject function for DB

Added a function to return an Account object constructed from an account
ResultSet retrieved from the database.
Merge pull request #160 from graemesmth/master

Added constructAccountObject function for DB