New Annotation to add own special optimizationsteps for methods.

JUnitTests for Optimizer added

Signed-off-by: Christopher Ewest <christookar@web.de>