1. Add access Control Library: Access
2. Make database, session and access libs autoload.

See view/worship.php to see usages for the new API.
Merge branch 'master' into dev
revert database config change.
Merge pull request #96 from leirocky/dev

user privilege support