Added EntityFunctions to predefinedTypes

This change should allow easier date comparisons as per
http://stackoverflow.com/a/6046018/1324019
Merge pull request #4 from Mansfield7/master

Add EntityFunctions to predefinedTypes