Added Cppunit unit testing ability and initial support for ODB.
Changed the data layer to use ODB ORM instead of direct SQL access.