Added check for DAOProperties to not set DAO to null values.
Added check for DAOProperties to not set DAO to null values.

shepheb/foam,shepheb/foam,osric-the-knight/foam,jlhughes/foam,jacksonic/foam,osric-the-knight/foam,jacksonic/foam,foam-framework/foam,mdittmer/foam,foam-framework/foam,mdittmer/foam,osric-the-knight/foam,jlhughes/foam,jacksonic/foam,osric-the-knight/foam,jlhughes/foam,foam-framework/foam,jacksonic/foam,foam-framework/foam,mdittmer/foam,mdittmer/foam,foam-framework/foam,jlhughes/foam,shepheb/foam