Ticket #5823: Properly count template parameters in TemplateSimplifier::useDefaultArgumentValues and handle casts in template parameters' default values.
Removed obsolete piece of code from checkbufferoverrun.cpp
Improved cast detection in AST:
-> Make use of it in checkother.cpp

Use tokenizer simplification instead of reimplementation for test suite
Merge pull request #315 from simartin/ticket_5823

Ticket #5823: Properly count template parameters in TemplateSimplifier::useDefaultArgumentValues
Cleaned up includes and forward declarations in checkers:
 - Removed definitely unnecessary forward declarations (e.g. "class Token"; token.h is already included by check.h, so a definition is unnecessary)
 - Removed unused includes
Moved implementation of two functions to new file check.cpp -> Don't include <iostream> everywhere
Further include cleanup
Fixed #5860: Don't show returnTempReference for calculations on unknown types
Updated Makefile