Fixed issue: admin/users controller must inherit from admin_controller.
Changed model access logic.
The auth::require_user() function now returns the user info array or false if no user is logged in.
Added JSON encoding as a Smarty modifier.
Support for custom queries in app_model::datatables() function.