Bidswitch adx

Took the bitswitch commits from Jan's PR (40) and removed the PR related to ubuntu 14.04 migration
Consmetic : is the order in the vector important ? because we insert here, insert after and push_back with the detected_vertical.