CORE: fixed parsing common name in Utils

- Replace all double+ whitespaces in input string (raw name)
  with single space and trim input, so matcher can parse name
  correctly.
Merge pull request #165 from zlamalp/parser

CORE: fixed parsing common name in Utils