ability to add custom lines to entry header on import

by using import -a "key: value" [ARGS ..]

(Fixed broken import procedure)
fix edge case where text is outside of markup (mostly from WordPress)
type is env.type now
add some modules to jinja2.globals
Add missing requirement: Mako.

Commit 373f572 adds "from mako.<module> import <stuff>" in the mako
templating filter. But if Mako is not installed, acrylamid issues a
warning about an ImportError.
Merge pull request #53 from markvl/fix-missing-mako-requirement

Add missing requirement: Mako.
Fix incorrect use of .rstrip method.

Using the .rstrip method all combinations of 'index.html' were
stripped so e.g. /atom.xml became /ato.
Merge pull request #54 from markvl/fix-sitemap

Fix incorrect use of .rstrip method in the sitemap
fix incorrect usage of str.rstrip
syntax error :(
fix ambiguous url detection in sitemap view

Urls for Atom and RSS feed look like regular static page urls but
should not get a 1.0 priority with a changefreq of `never'.

Now sitemap creates patterns for all active views can score them
more individually (still a minor TODO).
add same modules from templating jinja2 to the jinja2 filter
fail silently when mako is not installed, #53
entry.hasproperty can check for given metadata

this can reduce the calculation of @property methods
minor bugfixes in page and sitemap view
add support for translated posts, closes #22

To enable the Translation view, add this to your :doc:`conf.py`:

.. code-block:: python

    '/:year/:slug/:lang/': {
        'view': 'translation',
        'template': 'main.html',  # default, includes entry.html
    }

Translations are posts with the same `identifier` and a different `lang` attribute.
An example:

The English article::

    ---
    title: Foobar is not dead
    identifier: foobar-is-not-dead
    ---

    That's true, foobar is still alive!

And the French version::

    ---
    title: Foobar n'est pas mort !
    identifier: foobar-is-not-dead
    lang: fr
    ---

    Oui oui, foobar est toujours vivant !

If the blog language is ``"en"`` then the english article will be included into
the default listing but the french version not. You can link to the translated
versions via:

.. code-block:: html+jinja

    {% if 'translation' in env.views and env.translationsfor(entry) %}
    <ul>
        {% for tr in env.translationsfor(entry) %}
            <li><strong>{{ tr.lang }}:</strong>
                <a href="{{ env.path ~ tr.permalink }}">{{ tr.title }}</a>
            </li>
        {% endfor %}
    </ul>
    {% endif %}
Added option in rstx_youtube.py to add privacy enchanced mode
So that's not the default one anymore, but can be activated with
the privacy option. It seems that youtube-nocookie.com is not working
at the moment
Merge pull request #56 from the-metalgamer/master

Added option in rstx_youtube.py to add privacy enchanced mode
add :privacy: to docs
Add the tag to the tag view.

This way it is possible to access the name of the tag in the template
to e.g. add a heading containing the tag.