More work for the dao layer: Changes to how database calls are being made.

Changed dao tests to use a separate reservationtest table.
Added more tests.
Changed sql scripts.
Started work on generic argument validator. wip.
Changed dao layer to take the connections as a parameter.