Rename TableMap::TYPE_STUDLYPHPNAME to TableMap::TYPE_CAMELNAME

Template changes

Rename variables
Test fixes