Started a bit of a refactoring.
Fix 'implicit textOnly for script' warning.
Re-introduce home page.
Viewing posts

- Added ability to rewrite external URL to internal URL,
  so that articles can be easily moved around.
  This should also allow creating articles with no title,
  so that you can attach things directly.
- You can now get an article by ID.
- You can now view an article (ish).
- Fixed path to prettify CSS.
Remove rewrite stuff.

I was planning to use it to internally rewrite URLs to their internal IDs.
That's a bad idea, because it'll result in several round-trips to the database.

So, let's not do it.
Add missing dependencies.
Use 'request' module for the 'lightweight' client.

Something changed between the version of node.js on my desktop PC,
and that on my laptop.

And that broke the way that I was using 'http' to make requests.

I replaced it with the 'request' module, on the suggestion of
http://stackoverflow.com/a/12999483/8446

See https://github.com/mikeal/request for details.
User authentication.

Put back the user authentication code.
Merge branch 'revamp' of github.com:rlipscombe/blog into revamp

Conflicts:
	package.json
Viewing posts using new-style URLs.
Put back /tags.json -- needed for tag name autocomplete.
Put back tag search.
Add slugs to URLs.
Put back RSS.
Allow-everything robots.txt

Prevents 404 errors from appearing in the log file.
Export to JSON, for authorized users.
Remove deprecated fields from database.
Merge branch 'revamp'