Add a isHack() method to ReflectionFunction and ReflectionClass

These methods return if the function/method/class was defined in a Hack
file, whether that is by starting it with <?hh or by setting
Eval.EnableHipHopSyntax to true.

Closes #2286

Test plan: Added some more tests, and ran all reflection tests