Correctly get users from database, refs #1268.
refactor AdminModule/AdminController
refactor Blocks
refactor Categories
refactor Categories
update return value in docblocks
refactor Groups
refactor Mailer. PageLock does not require refactoring
refactor Permissions - including LogUtil -> getFlashBag->add()
refactor Search including FormUtil -> FlashBag
refactor SecurityCenter inc. LogUtil -> FlashBag
refactor LogUtil -> FlashBag for Admin, Blocks, Categories, Extensions, Groups, Mailer, Pagelock
refactor Settings inc LogUtil -> FlashBag
refactor Theme inc. LogUtil -> FlashBag
correct syntax error
refactor Users inc. LogUtil -> FlashBag
Merge pull request #1506 from craigh/ThrownOut

Refactor Controllers to improve UI
improve api return value
Merge pull request #1508 from craigh/apifix

improve api return value
improve Form redirect handling.

Previously, the Form lifecycle was cut short if there was a redirect from the form handler (see FIXME in removed code). This aims to correct this issue while maintaining previous functionality where desired.