test: Following Google style guide on object declaration
core: Added NodeCollection#toArray()

This is useful because a native Array has better performance than a NodeCollection
for certain operations, so this is helpful when you need a NodeList to behave like
an Array and don't need the NodeCollection functions.