LowercaseConstantsFixer - rewrite to handle new test cases

LowercaseConstantsFixer - rewrite to handle new test cases.
Resolves #793.

May not work on php 5.3 yet
I'll send a pull so you can see what I mean...