Fix issue #47 by extending HTMLCollection with forEach function.
Merge changes from develop branch.