Implemented gallery also for static pages
Added python3 support to img and b64img tags

This is done using a new six import, however as `six` is used by pelican
itself, this do not add a requirement.
Merge pull request #334 from benjaminabel/python3-support

Add Python 3 support to img and b64img for liquid_tags plugin
Merge pull request #325 from bugnano/master

Implement gallery also for static pages
Closes issue #312
Markdown 2.5 changed the config system for markdown extensions. Inspired by
the render_math plugin, I added code to cope with both versions. New settings
used in the markdown part must go in LT_CONFIG and LT_HELP in `mdx_liquid_tags.py`.
Update the i18n_subsites plugin, addresses many issues

Major highlights
................
- fixed and improved cross-linking (fixes #333) with URLs
  containing e.g. localized month names
  (thanks to issue getpelican/pelican#1198)
- support for custom ``SITEURL`` and ``OUTPUT_PATH`` hierarchy
  (fixes #182)
- sharing of static files (including those of the theme) among
  subsites (fixes #180)

Technical highlights
....................
- added a test suite (works with pelican 3.4)
- translations are installed into Jinja2 environments of all
  generators
- old locale is restored after generation, fixes autoreload

The documentation has been updated and improved (mostly in terms of
formatting).

Known issues
............
- due to the redesign required for correct cross-linking, older
  versions of Pelican (<3.4) are not supported, because they lack
  certain signals
- the ``HIDE_UNTRANSLATED_CONTENT`` setting has been deprecated in
  favor of the ``I18N_UNTRANSLATED_{ARTICLES,PAGES}`` settings which
  offer more control in order to fix #211.
- the test suite works only with pelican 3.4, later versions add a
  timezone field to the date
The multi_part plugin has been set as deprecated
Added series plugin
Merge pull request #346 from lgiordani/series_plugin

New series plugin. Multi_part set as deprecated
force rst output same as markdown output;
Merge pull request #347 from liangfu/master

[extract_toc] Ensure reST output is same as Markdown output
extract_toc: fix markdown case when toc not found

The guard is needed to avoid:

  'NoneType' object has no attribute 'extract'

This fixes the bug introduced in the parent commit.
Add python3 support to read_more_link
Merge pull request #351 from rhaamo/master

Add python3 support to read_more_link
Merge pull request #350 from jedbrown/jed/fix-extract-toc-markdown

extract_toc: fix markdown case when toc not found
Added note about Pelican 3.5 to Assets README
Merge pull request #321 from jcdubacq/issue312

Fix liquid_tags for Markdown 2.5
incorrect property on article.series

`article.series.series` changed to `article.series.name` so it actually shows the name.
Merge pull request #360 from iKevinY/patch-1

Add note about Pelican 3.5 to Assets plugin documentation
Fixed "CRITICAL: can't compare offset-naive and offset-aware datetimes" bug

This is similar to another issue in a different plugin:
https://github.com/getpelican/pelican-plugins/issues/264
Merge pull request #372 from kylebarlow/master

filetime_from_git plugin: add timezone information to datetime objects