Added ability to enumerate ports on linux and windows.

Updated serial_example.cc to show example of port enumeration.