Changed object references in Controller for easier injection
Updated constructor in Controller test
Updated Controller constructor in AppTest
Added i18n(), page(), cache(), and template() to Controller to get/set dependencies, updated references
Updated references to deprecated functions db_* and i18n_*