Fix mapping issues with multiple deployed @ManagedResource

git-svn-id: http://primefaces.googlecode.com/svn/primefaces/trunk@10768 5a70e874-a5cb-11dd-8af2-493fb0bb9f7c
Bug fix, needs to be verified by Sudheer

git-svn-id: http://primefaces.googlecode.com/svn/primefaces/trunk@10769 5a70e874-a5cb-11dd-8af2-493fb0bb9f7c
Refactor

git-svn-id: http://primefaces.googlecode.com/svn/primefaces/trunk@10770 5a70e874-a5cb-11dd-8af2-493fb0bb9f7c