Fix routepolicy checkUrlPrefix

Found because I happened to be looking at the linker output and
thinking, "um, why is `type` being declared as a package-scope
variable?"  :-)

Added checkUrlPrefix unit test.
Prevent npm install from picking up existing node_modules dirs
Update History.md
Unbreak apps that reached a corrupted state due to #927

Previously to fixing #927, if you had a 'node_modules' directory
anywhere up the directory tree from your app and you had a package
in your app using NPM, all calls to 'npm' ran against the 'node_modules'
directory it found, so neither 'node_modules' nor 'npm-shrinkwrap.json'
would be created within your package's .npm directory.

The fix to #927 ensured that 'node_modules' was first created within
'.npm' but people who had already run 0.6.0 were still in a corrupted state.
v0.6.1: History.md and notices.json
improve usage string for publish-release.sh
0.6.1
Merge branch 'release-0.6.1'
Merge branch 'master' into devel
ADD on History.md
Allow ROOT_URL to not contain http://
Fold stream package into livedata
rename file stream_client -> stream_client_sockjs
Bring over stream_client_nodejs from starseed branch. Manually merge changes that have accumulated in stream_client_sockjs since starseed forked off.
livedata: if client_convenience.js is loaded "on the server" (not normally possible in the usual build scenario, but would be the case of a nodejs-based client, eg, a command-line tool), don't try to open a default DDP connection
livedata_connection: don't assume that 'reload' package is available
rename _StreamServer -> _DdpStreamServer, _Stream -> DdpClientStream
Meteor.connect to ourself as a server now works.  Code still needs some cleaning up
Share URL-munging code

Still to do:

* Share more code
* Deal with this error:
    Uncaught Error: INVALID_STATE_ERR sockjs-0.3.4.js:1054
    SockJS._didClose sockjs-0.3.4.js:1054
    (anonymous function) sockjs-0.3.4.js:1330
    xo.onfinish sockjs-0.3.4.js:1412
    EventEmitter.emit sockjs-0.3.4.js:150
    that.xhr.onreadystatechange
Cleaning up duplicated code