clang-tlb-import: split out string-conversion functions

no functional change whatsoever yet (besides sprinkling references for
the input-string in the signature)

wondering: what the heck is "isConstant()" supposed to do?

briefly comparing the two converting functions with the stuff done in
gccxml.rb... well... similar but different...

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
clang-tlb-import: add "template_tokenizer"

implemented as unexported function in "NamingConversion". also added a
"strip" whitespace-removal, verbatim copied from stackoverflow...

no unit-test, just a simple human-in-the-loop testing function...
besides this the same functionality and behavior as the gccxml variant

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
clang-tlb-import: helper function "stringFromToReplace"

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
clang-tlb-import: rework "typlibtoCxxName"

use "stringFromToReplace" for conversions. adopt some un-implemented
behavior of the original gccxml.rb variant in conversion of more
complicated names

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
clang-tlb-import: better debug messages

printing the cxx-name is far more intuitive than using the (sorry) lossy
conversion to typelib-lingo

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>
clang-tlb-import: there is only _one_ place where name-conversions are done

namely: inside the "cxxToTypelibName". and nowhere else. period.

also move some completely insane and unnecessary testing from a stupid
place to the nirvana...

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>