Added extend function

In case we don't use underscore, extend purpose is merge two object attributes.

Used in my AbstractClass.findOrCreate proposal.