{{#markdown}} works!
mongo_runner: Don't send rs.initiate too early

Fixes #1696. Thanks to @Maxpain177 for reporting and providing access to
a machine where this was easily reproducible.

(Manually ported to tool-refactoring from devel.)
Don't leave invalid METEOR-PORT files around

Could cause mongo startup to hang.

Reproduction:

  $ meteor
  => Meteor server running on: http://localhost:3000/
  # ... wait for server to start, ctrl-c.
  # leaves '3002' in .meteor/local/db/METEOR-PORT
  $ meteor -p 5000
  # ctrl-c in about a second: once we've wiped the old local db
  # but before we've configured the new one.
  # before this commit, '3002' is still in the METEOR-PORT file.
  $ meteor
  # before this commit, hangs with:
  Initializing mongo database... this may take a moment.

(Manually ported to tool-refactoring from devel.)
Don't call onListen more than once

eg, maybe the replset loses and regains its PRIMARY.

(Manually ported to tool-refactoring from devel.)
Merge branch 'sso' into tool-refactoring

Conflicts:
	tools/auth.js
	tools/mongo_runner.js
	tools/tests/test-bundler-npm.js
wait -> waitSecs
Do not spend the effort on a stack trace if omitCallerDetails is set
{{#better_markdown}} -> {{#markdown}}
Allow including templates within {{#markdown}}

The docs app now works. Fixes #1736.
Merge branch 'shark-make-docs-work' into shark
Use correct `node.toHTML` arguments

for clarity
Make tag.toText slightly more correct
Test an edge-case with template inclusion in {{#markdown}}
re-org getSpecialTag into TemplateTag

...specifically into TemplateTag.parseCompleteTag.

Also document TemplateTag more.
Ignore old dont-fetch-latest flag
test harness: support exact match
Fix CRLF handling in HTML tokenizer

We would choke on CR line endings, because we didn't implement the preprocessing step of converting CR(LF)? to LF.  Now we correctly convert (or ignore) CR inside tags, in text nodes, in attributes, and in comments.
Make spacebars compiler shorter
Organize spacebars-compiler.js
Unbind from proxy when killed