Cleaned up source to comply with PEP8. Now generates a container
directory with enclosed index.html for prettier urls.
Removed superfluous .swp file.
Added global variable with all generated post contexts, and index
generation which passes a date-sorted list of post contexts. Also added
automagic date generation and date header parsing.
Generally best practices to gate the `main()` function behind `if
__name__ == '__main__` so the file can be imported without running its
main function.
Merge pull request #1 from nopreserveroot/feature/generate-pages

Small tweak on calling main.
Time-sorted content is now contained in content/posts/. Pages are now
contained directly in content/.

Needs support:
--------------

Pages are not registered as global objects to be used in templates.

Tests are missing.
Merge branch 'feature/generate-pages' into develop