small improvements to category.py

- fix most docstrings according to pep257

- use a single multiline string instead of multiple single-line ones

- use string formatting instead of concatenation where appropriate

- merge several `else if` statements into a tuple lookup

- remove obsolete script name from showHelp

Change-Id: Ie903a2b299db506bb0b4345847cefc537d151094