Serial data readin/out working in simulation

Added an extra method (below) in the main file for reading and writing
away data in simulation mode.
Works in simulation mode using MPLAB IDE 8, with debugging tools.
Must be tested on PIC and software UART should be added
Merge pull request #1 from sparkycrisse/master

Working UART in simulation mode