Fix calling methods on new objects (e.g. (new foo())->doSomething()).
Merge pull request #88 from TJ09/fix-inline-new

Fix calling methods on new objects (e.g. (new foo())->doSomething()).
Merge pull request #1 from facebook/master

Pull from upstream