fix and cleanup wildcard error msgs

* rename helper() into error_msg()
* clean logic to handle wildcard exceptions
* separate templates for html and text (CLI) modes also for das_ambiguous
* in das_wildcard_err, use same name 'msg' as in das_ambiguous for the error message
visual cleanup of generate_dasquery

* PEP8
* extract check_daskey(dasquery) which checks if given dasquery contain a valid daskey
colorify the das_code_quality script

* this makes it much easier to identify the issues
* pass is green, fail is red.
Merge pull request #4095 from dmwm/das_code_quality_colorify

colorify the das_code_quality script
remove unnecessary checks on DASQuery

* the parser already performs more complex checks, so this code is not needed
* renamed the error messages to make them more clear
Merge pull request #4090 from dmwm/wildcard_exc_kws_fix

fix and cleanup wildcard error msgs, refactor/cleanup generate_dasquery()
Update
Update
some pylint and pep8 fixes

* now all files in keywordsearch package and kws_tests get >=9 in pylint
* most TODOs removed
* still some code may be cleaned up further