Added support for RConsole

I made functions to open and close the RConsole connection, so if you want
test data to be sent to your pc:

- Brick and pc should be paired.
- Call openRConsole() from the main function.
- ... test ... RConsole.println()...
- Call closeRConsole() from the main function.