Fix for issue IDGEN-27

Hi, 

This fixes errors with stack trace like http://pastebin.com/SAF1bRQC that appears when using IDGEN on Tomcat 7+. It is just a simple replace of all .class in the jsp files to ['class']. 

I have tested this on my local installation. The fix is the same as what I found on openmrs-core for issue 3109. 

Thanks
Vinay