Adds THUMBNAIL_KEEP_NAME which if set puts the thumbnail in a folder named
like the key in THUMBNAIL_SIZES.
i18n_subsites: consider templates lang, expand docs

this commit removes the need to make a dummy translation for
the language in which the templates are written.
This only affects themes using jinja2.ext.i18n.
The I18N_THEMES_LANG is introduced to address this issue.

Also expanded the docs for making gettext .po files with babel.
i18n_subsites: fix HIDE_UNTRANSLATED_CONTENT

1. was removing items of an active iterator -> only first worked
2. Article inherits Page, so first check if is Article
i18n_subsites: improve develop server support

1. main site url root fix
2. support autoreload mode
Also removed trailing slash on dir name.
18n_subsites: use configure_settings() to sanitize

Also needed for LOCALE overrides, etc.
Merge pull request #145 from smartass101/master

i18n_subsites: consider templates lang, expand docs, several fixes
Merge pull request #118 from deepy/master

Add option to keep original filename and put thumbnail in a folder instead
i18n_subsites: add lang_subsites template var, improve docs

- the new variable makes it easier to implement language buttons
- a short howto on language buttons is also provided
- the dictionary mapping template vars are now OrderedDict
  for consistent-looking language buttons
Merge pull request #146 from smartass101/master

i18n_subsites: add lang_subsites template var, improve docs
Fix an issue in neighbors plugin which was introduced after subcategory support

It is not necessary that articles will have subcategories. You may
end up getting following critical error.

>
CRITICAL: ("'ArticlesGenerator' object has no attribute 'subcategories'",)
CRITICAL: 'ArticlesGenerator' object has no attribute 'subcategories'
Traceback (most recent call last):
  File "/Users/talha/Repos/VirtualEnvs/pelican-dev/bin/pelican", line 8, in <module>
    load_entry_point('pelican==3.3', 'console_scripts', 'pelican')()
  File "/Users/talha/Repos/VirtualEnvs/pelican-dev/lib/python2.7/site-packages/pelican-3.3-py2.7.egg/pelican/__init__.py", line 346, in main
    pelican.run()
  File "/Users/talha/Repos/VirtualEnvs/pelican-dev/lib/python2.7/site-packages/pelican-3.3-py2.7.egg/pelican/__init__.py", line 162, in run
    p.generate_context()
  File "/Users/talha/Repos/VirtualEnvs/pelican-dev/lib/python2.7/site-packages/pelican-3.3-py2.7.egg/pelican/generators.py", line 480, in generate_context
    signals.article_generator_finalized.send(self)
  File "/Users/talha/Repos/VirtualEnvs/pelican-dev/lib/python2.7/site-packages/blinker/base.py", line 267, in send
    for receiver in self.receivers_for(sender)]
  File "/Users/talha/Repos/pelican-plugins/neighbors/neighbors.py", line 49, in neighbors
    for subcategory, articles in generator.subcategories:
AttributeError: 'ArticlesGenerator' object has no attribute 'subcategories'
Merge pull request #149 from talha131/fix-neighbors

Neighbors plugin shouldn't require subcategories
Fixed missing quote mark in an HTML example
Allow for an optional maximum number of entries to display.
Merge pull request #152 from mlang/master

Add optional max number of entries to github_activity plugin
Merge pull request #150 from runarberg/master

Fix missing quote mark in subcategories plugin docs
Simple Footnotes plugin. Add footnotes to your text by enclosing them in [ref] and [/ref].
Merge pull request #156 from stuartlangridge/simple-footnotes

Add Simple Footnotes plugin
Initial release of the twitter bootstrap rst directives plugin
Merge pull request #157 from samyarous/master

Pelican plugin providing RST directives for twitter bootstrap partial intergration
new latex math plugin, now handles typogrify correctly and does not need template alteration to be used