PLX-467: [performance] use SecurityManager subclass to find the caller class

This is a proof-of-concept PR for review/testing - we may want to keep the stack trace approach as a fall back in case there's a runtime problem using the SecurityManager subclass. The performance impact of this change still needs to be investigated in both large and small applications.