PLX-467: [performance] simplified getResource{,s} that does not need to check caller stack reflectively

See discussion in [PLX-467](https://jira.codehaus.org/browse/PLX-467) and compare to #6 and #7.