Template tags now accept optional categories

Template tags dealing with ``Entry`` objects now accept an optional
``categories`` parameter which can be either ``None`` (default) or a
queryset of ``Category`` objects that will be used for filtering
entries. Tests updated, docs will be updated if accepted.