Fixing bug with exception handlers, wrapping handler in a try-catch.
Making IOCContainer automatically register a newly-constructed object.
Adding convenience method hasRole to GrantedAuthority.
Making IllegalArgumentException preserve the error message.