make utils.extend() returns the extended object
Merge pull request #121 from bpierre/extend-return

make utils.extend() return the extended object