Change getPorts exports to properly use callback
Also don't call serial ready too soon
Pull serialCommand out of ready callback. Argh
Most of this will have to be refactored for use as a module :P