Allowing for random-port allocation for both launcher and comm components.
+ refactoring to wait for moment at which the port number is known
+ add comm.getPort() to allow reporting the portnumber to others

Some code cleanup
- comments
- follow the 'self' style in stead of 'me' for locally referring this
- use %placeholders in console.log
some editorial changes based on rethinking and reconsidering after the resent work...
starting to use post to transfer state
minor comments and changes
Merge remote-tracking branch 'mpo/master'
Implemented misc manager bits, introduced the manager webui