use Mockery for unit test Dao class.
fix the nameclass to be DbGateway (for now); setTime should just check if $name is set.
moved constructor test to directory, ConstructTest.
fix getting the class name (except namespace part).
test on primaryKey and date format and convert.
test converts is set during construction.
test _updateTimeStamps method.
test updateTimeStamp and toString methods; fix toString not alter the input $data.