OWB-983 fix tomcat7 integration

* implement Principal mechanism as Filter instead of a listener
* heavily simplify the Lifecycle and InstanceManager registration


git-svn-id: https://svn.apache.org/repos/asf/openwebbeans/trunk@1615884 13f79535-47bb-0310-9956-ffa450edef68
OWB-988 move PrincipalBean to owb-core


git-svn-id: https://svn.apache.org/repos/asf/openwebbeans/trunk@1615898 13f79535-47bb-0310-9956-ffa450edef68
formatting only

git-svn-id: https://svn.apache.org/repos/asf/openwebbeans/trunk@1615981 13f79535-47bb-0310-9956-ffa450edef68
removing useless code

git-svn-id: https://svn.apache.org/repos/asf/openwebbeans/trunk@1616034 13f79535-47bb-0310-9956-ffa450edef68
default package is null so avoid NPE

git-svn-id: https://svn.apache.org/repos/asf/openwebbeans/trunk@1617143 13f79535-47bb-0310-9956-ffa450edef68
checkstyle sorry

git-svn-id: https://svn.apache.org/repos/asf/openwebbeans/trunk@1617145 13f79535-47bb-0310-9956-ffa450edef68
fix InjectionPoint test


git-svn-id: https://svn.apache.org/repos/asf/openwebbeans/trunk@1618419 13f79535-47bb-0310-9956-ffa450edef68