LowercaseConstantsFixer - rewrite to handle new test cases

LowercaseConstantsFixer - rewrite to handle new test cases.
Resolves #793.

May not work on php 5.3 yet