Initial implementation of HAXElement delegate support.

With support for element destruction notification.
Merge branch 'develop' into numist/element-delegate
Merge pull request #19 from numist/numist/element-delegate

RFC: Initial implementation of HAXElement delegate support.