fixes #570 avrdude port detection
Branch for the library fixes
merged orbit branch (orbit, bfs) with trunk