Refactor Bluetooth connection
Refactor the bluetooth socket connection.
The code to establish a socket is not trivial. It should be easy to
reuse it for future projects (Albert, Arduino..)
Merge pull request #939 from Catrobat/bt_refactoring_step_1

Refactor Bluetooth connection