LowercaseConstantsFixer - rewrite to handle new test cases

LowercaseConstantsFixer - rewrite to handle new test cases.
Resolves #793.

May not work on php 5.3 yet
Do we need a php 5.3 hack here where we check if the content is equal to "instanceof"?