StopTradingDurationOnCalendarEvent as new class name better reflects
purpose.
Some code cleanups.
Check logic for trading allowed on events moved to central place.
Redesigned framework logic with a FSM for better flexibility.
Created framework package.
Increased thread saftey on framework with public methods beeing
synchronized.
Minor testcase improvements.
Added final.
Cancel of SL/TP now uses the platform constant. Better error message in
case of null instrument.
Logging removed from loop exit condition for responsibility split.