Move all L2CAP states etc. into BTD.h, so the different drivers does not conflict when used together
Clear and set flags in a more readable way
Updated some comments
Fixed warning

Check if we are at the end of the string properly
Use more readable macros in the BTD class as well