Rework header/includes

@dreamer-dead could you please review these changes?
Is qserialdevice code completely unused?
If so, can we remove the whole qserialdevice sorce tree from project?