added custom templates for ActiveResource & GenericAR models
added utility function to ModelCode class
added templates for use by EActiveResource
modified some files for the Gii generators
Merge pull request #13 from muya/master

Completed Modification of Gii Generator to work with our project