Fix wrong model recognition

Parser was recognizing words with `model` keyword combination, for example `` `model` `` or `Cmodel`, as model, this is a suggestion to fix the issue. this pull request would close issue #92 and #152.
@zdne and also as I'm looking through the code `TrimString()` is cleaning the beginning and the end of an sting which in this case the `\n` is in the middle of the string.