AuthBehavior optimizations to reduce number of queries.
Cleaned up and refactured AuthBehavior.php
Added some phpdoc
Merge pull request #77 from kachar/master

AuthBehavior optimizations to reduce number of queries.