Add tests for invoking static methods
See facebook/hhvm#1721
Merge branch 'master' into hhvm