Don't mutate property name lettercase

Preserve the case of any properties that are not flipped. This ensures the script don't affect custom properties.

I also reordered some functions, which has contributed to the strange diff. And changed the `flipProperty` and `flipValue` functions to both take the full declaration as their only argument.

cc @brettstimmerman 

Fix gh-14