Merge pull request #5 from ajaxorg/fix/find-node

Fix findNode
Merge pull request #6 from ajaxorg/fix/position-info

Fix position info
Add Node.isMatch() method
Merge pull request #8 from ajaxorg/add-is-match

Add Node.isMatch() method
Add function name for stack traces
Recover unterminated string literals

like in require("
Recover unterminated string literals at EOF
Add option to inRange() to assume the the input position is 0 characters wide (like a cursor)
Support multiple patters per rewrite function

e.g., rewrite("Foo(x)", "Bar(x)", function(b) {...b.x...} would match both Foo and Bar
Treat ConstDecl/ConstDeclInit just like VarDecl/VarDeclInit

In particular, use tree.string(varNode[0].name) and not tree.string(varNode[0])
Remove duplicate test, uneeded requirejs-node and fixed node path for the test to run
Merge pull request #9 from ajaxorg/fix/tests-paths

Fix treehugger test - pass
Recover on unexpected characters
Merge branch 'master' of github.com:ajaxorg/treehugger
Position info fix: use the current token as the last token if only one token was consumed

The old behavior would use the previous token as the last token