added templates for use by EActiveResource
modified some files for the Gii generators