Fixed extend function
Merge pull request #6 from cferdinandi/extend

Fixed extend function
updated unit tests. added destroy method.
Merge pull request #7 from cferdinandi/tests

updated unit tests. added destroy method.
Added bind polyfill
Merge branch 'master' into gh-pages