dynamic assignment of flag bits to encoders
minimized encoders to use only required number of bits
added safe_way flags
refactored acceptWay methods to encodingManager
removed all local encoder instantiations
minor refactorings and cleanup+format
added tests for EncodingManager
no null encodingManager allowed
added some more tests + fixed integration test
merged dynamic_encoding branch
added test for mixed config; fixed special IT