FIX: restore original remoteport on connect.xhtml tab closed
revert saved remote debugger port to 6000 if previous installed simulator version < 3.0pre5
remove trailing spaces
fix restore standard remote port on upgrades
Merge pull request #399 from rpl/fix-saved-remoteport

FIX: random allocated b2g debugger remoteport saved as connect page submit side-effect