Refs #382: Accept single space after keyword

In KeywordHandler:
- rework regex with comments
- add test for single space
- add some other tests too
- update the doc
Refs #382: Improve readability of regex
Merge branch 'feature/382-keywordhandler-accept-space' into develop