Added optional read/write locks to spi reader
Improved write/read locks for serial write/read
Merged tcp stubs and serial stubs together

The two stubs were so similar, I figured out how to modularize the core
functionality of the stubs so there is one send function for
serial/tcp, and one receive function for serial/tcp
Renamed files to use underscores instead of dashes

To be consistent