Halo: Add DAO Test helper classes.

This adds a base test class for setting up tests that use MySQL
Database access. Additionally there is now a trait for shared
expectations for generic SELECT query results.