Support ordering pages and articles when iterating in templates.
Order can be set to a metadata attribute or a sorting function.
Default to order by slug for articles and order by filename for pages.
Add test for PAGE_ORDER_BY
Merge remote-tracking branch 'remotes/malept/davidmarble-page-order-by' into davidmarble-page-order-by

Conflicts:
	docs/settings.rst
	pelican/generators.py
	pelican/tests/test_generators.py
Add missing methods
Address code review comments from PR getpelican/pelican#1348

The text about the sort-by-key function comes from:
https://docs.python.org/2/library/stdtypes.html#sequence-types-str-unicode-list-tuple-bytearray-buffer-xrange

Minor style cleanup as well.
Merge branch 'master' of https://github.com/getpelican/pelican into davidmarble-page-order-by
Addressed comments from @avaris in PR getpelican/pelican#1348
Fixes wrongly generated relative urls for pagination.

When `RELATIVE_URLS` is `True` and the `PAGINATION_PATTERNS` adds folder to the path, the relative urls to these pages does not respect these additional folders.

Example:
	Settings:
			RELATIVE_URLS = True
			PAGINATION_PATTERNS = (
					(1, '{base_name}/', '{base_name}/index.html'),
					(2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),)

	Theme:
			<link href="{{ SITEURL }}/theme/css/style.css" rel="stylesheet">

If you are on page 2 then "{{ SITEURL }}/theme/css/style.css" expands to "./theme/css/style.css" instead of "./../../theme/css/style.css".

Fix:
Simply compute the relative url from the paginated url instead of the not paginated one.
Documents DOCUTILS_SETTINGS and initializes it. Fixes #1425
Updates docs for Python 3

In Python 3, the simpleHTTPServer has moved into the http module, so the command `python -m simpleHTTPServer no longer works. This minor change adds instructions for those of us using Python 3.
add <ul> to make valid html
Enables custom locale while feed generation.

Fixes wrong language of month names in feed links.

Related to #1198
Updates the custom_locale test feed files to match the correct month names
minor spelling fixes
Merge pull request #1348 from vjousse/davidmarble-page-order-by

 Support ordering pages and articles when iterating in templates.
Merge pull request #1366 from Scheirle/paginated_relative_urls_fix2

Fixes wrongly generated relative urls for pagination.
Merge pull request #1426 from barrysteyn/DOCUTILS_SETTINGS

Documents DOCUTILS_SETTINGS and initializes it. Fixes #1425
Fix for broken test in #1348
Merge pull request #1470 from avaris/fix_1348

Fix for broken test in #1348
README: Added Coveralls badge, refactor Travis badge