more refactoring to aid testability. changed uart config to have parameterized bits/parity/stopbits instead of SAM7s specific settings; created a dummy uart and usb_comm under test folder; removed more FreeRTOS specific code away from logger code