VID-1841 Make sure cat names use underscores
VID-1841 Use more efficient search/replace function
VID-1841 Add typehinting to method
Merge pull request #4298 from Wikia/VID-1841

VID-1841 Make sure cat names use underscores