Count the number of passed tests at the end of phpunit.
Database error trapping.

New mysqli always returns an object. Test for connection error.
Use die to trap errors, will use proper error log soon.
Merge branch 'master' into inclass

Merged parallel development.
Conflicts:
	App/personApp.php