Check 	if(null == getPagesDao() before setting it.

Signed-off-by: bhill2 <bjsrhill@gmail.com>
General refactoring

Signed-off-by: bhill2 <bjsrhill@gmail.com>
Upgraded Cobertura version

Signed-off-by: bhill2 <bjsrhill@gmail.com>