Return nodes in document order. Fixes #11
Throw SyntaxError upon invocation rather than build-time. Fixes #10
Bumped version to 1.0.7