Test suite/cleanup

Since I'm working with ACLs for the rest of the week, I took myself some time to help in cleaning up BjyAuthorize :)

I'm still working on this, but for now I'll open the PR to allow any reviews.

Planned:
 1. Support for generic ObjectManagers/ObjectRepositories (doctrine) instead of usage of a raw connection
 2. detailed integration tests on various configurations
 3. Dummy auth-based role provider (a simple 'guest' vs 'user' switcher, which is a fairly common use case)
 4. Eventually add integration with ZDT