Fix URL names and targets for the password reset flow.

The password reset functionality regressed when we switched over to django's
bundled implementation (instead of our own). We had a couple earlier fixes to
this, but there were still some small errors. This makes it so that all the URL
names and view functions match up exactly as they should.

Testing done:
Went through the whole password reset flow and verified that it works.

Fixes bug 3358.

Reviewed at https://reviews.reviewboard.org/r/5856/
Always link to the current documentation URL.

We've always had to manually update the various URLs to the user manual,
and we've never been very consistent about doing that. However, this is
pretty easy to compute, so there's not much reason for us to have to
change anything.

There's now a new get_manual_url() function that's used to populate the
URL for the web UI and for rb-site. This will use a versioned manual if
it's a released build tagged 'final', or the 'dev' manual otherwise.

Reviewed at https://reviews.reviewboard.org/r/5854/
Escape '_' in all parts of a string when escaping for Markdown.

While our Markdown formatting through marked.js technically allows '_'
to be unescaped in the middle of words without problems, it breaks
down in practice. There are bugs in marked.js that can cause '_' in
different parts of a string to be turend into emphasis.

Until that's fixed, or we move to server-side Markdown rendering, we'll
need to disable the escaping of '_' within words in order to prevent
these problems.

Reviewed at https://reviews.reviewboard.org/r/5857/
Use "pre"-mode whitespace rules for <p> tags in Markdown.

Free-form text (<p> tags) are now set to not strip whitespace, causing
them to act just like a <pre> tag. This allows things like indentation
to remain (which Review Bot currently sets).

This is how it used to be, but that was changed in one of the betas to
work around some issues. However, that change was made to *all*
elements, and I don't believe the original issue was with paragraph
text.

Reviewed at https://reviews.reviewboard.org/r/5858/