Fixes for Issue #1

This Commit:
- fixes #1 by dropping top-level comments as the lastNodeReference in
domparser is not yet set by a valid top-level element
- Removed references to table.getn() and replaced with hash
- Minor refactoring
- Replaced all tab characters with 4 spaces
- libxml.load() will now detect the presence of the 'love' global
variable, and fallback to lua io.open