Merge pull request #38 from marc-portier/master

remove the id from the servicejson and promote the filename (without extension) to id
[style] Disabled jshint warnings about missing semicolons, replaced " by '
[style] 'use strict' in libs, removed trailing whitespace, fixed a couple of 'used before declared' warnings (which are bugus if you ask me)
[style] Always use curly braces after if
[style] use dot notation instead of [] where possible
[style] always declare variables
Pulled apart the autoconnect stuff so we can have autoconnect between two named instances