Consolidate/migrate common db interface code to core.database.js,
Call db.close() before invoking callback in new database methods,
Update db calls in admin.user and author.page.js to use common
interface
Merge branch 'master' into database-interface-consolidation

Conflicts:
	app/author.page.js
Change 'dbentry' to document, Store db object for reuse
Merge branch 'database-interface-consolidation'
Merge branch 'master' of https://github.com/gconsidine/plz-cms
Merge pull request #21 from gconsidine/database-interface-consolidation

Database interface consolidation