Add classDelegate, classDelegateFunctions, and delegateFunctions
combine delegate and delegateFunctions so that delegate does both
fix tests.coffee
scrap the function stuff
Merge pull request #1001 from batmanjs/class-delegate-functions

Add classDelegate, classDelegateFunctions, and delegateFunctions