Correcting template vars.
Merge pull request #1501 from shefik/notificationemails

Correcting template vars.
remove duplicate import. closes #1503
Merge pull request #1504 from craigh/ticket1503

remove duplicate import. closes #1503
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