Update node.js websocket URL format to include the app name and instance id
Change parseSocketUrl to get the application from the socket URL instead of the referrer URL
Don't look for a specific number of digits for the time parameter
Tested persistence and this isn't an issue.
Clean up if statement and blank lines after comments

Refs #2970
Merge pull request #70 from virtual-world-framework/branch/node.js-websocket-url

Branch/node.js websocket url