Merge pull request #2 from nubs/master

Add support for static method calls via self and static. Fixes #1
Fix bug with function nodes.

Assignment operator was being used instead of a comparison operator.