some cleanup in concurrency utilities + skipping ejbcontext checks when in a task - this should be enhanced assing something in ThreadContext to validate we can skip this check more accurately

git-svn-id: https://svn.apache.org/repos/asf/tomee/tomee/trunk@1607943 13f79535-47bb-0310-9956-ffa450edef68
equals/hashcode for User

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