Total cleanup

I tried to cleanup the code as much as possible.
Improved readability etc.
Mostly of the tests.

Last but not least have look at my commit message here:
https://github.com/ravage84/cakedc_search/commit/70376eb8f765cab2f0b55a698acbdcccb6f4a090

Generally I'm not sure if the test coverage should be reworked to some extend.
Most test code seems to be redundant, vey similar to other tests etc.
This PR should be the base of further code reviews.