PEP8 cleanup

Remove unused imports & functions, add/remove whitespace, remove empty
docstrings.
Add microservice group to node text
linktool: correctly update chain startingLinks

Fixes #6948
Add WIP FPR rule tool

refs #6770
Print SQL to stdout, everything else to stderr
Fix up IDRule fields
Allow command source code to be specified
Add option to create FPR format
Add ask_for_field helper
Fix string stripping