TODO "optimize": Done

Suffix checking easier and more efficient.

I also fixed some unittests some others that triggered I disabled (Soenke please review).
Merge pull request #47 from eskimor/master

Optimized suffix checking.