Added getPorts() function that returns a QStringList containing a list
of valid ports. Needs to be tested on Mac and Windows(once complete).
Added functional test to dump availiable ports