Exposed the getElementByReference function in ElementCollection. This is
a temporary fix for issue #154 that should not be a permanent solution
but helps right now
Merge pull request #165 from bruttenberg/DEV2.2

Exposed the getElementByReference function in ElementCollection.