Add an ``backwards`` option to the autopaginate tag.

Optionally, ``backwards`` may be passed as the last argument to the
template tag. Useful when the ``object_list`` is in a reverse chronological
order and you'd like to start paginating from the opposite direction.
Meaning, if there are 6 pages of results, visiting the item for the first
time will start with the 6th page of results instead of the 1st.

{% autopaginate object_list %}

{% autopaginate object_list 10 backwards %}

Note it is still up to you to reverse the ``object_list`` before using
the ``backwards`` option.
typo fix
readability
Add an ``backwards`` option to the autopaginate tag.

Optionally, ``backwards`` may be passed as the last argument to the
template tag. Useful when the ``object_list`` is in a reverse chronological
order and you'd like to start paginating from the opposite direction.
Meaning, if there are 6 pages of results, visiting the item for the first
time will start with the 6th page of results instead of the 1st.

{% autopaginate object_list %}

{% autopaginate object_list 10 backwards %}

Note it is still up to you to reverse the ``object_list`` before using
the ``backwards`` option.
typo fix
readability
Merge branch 'add_backwards_option' of github.com:rizumu/django-pagination into add_backwards_option
FinitePaginator() bugfix: 

1. page_items was being converted to a list, adding .all() keeps it as the queryset object which is the expected behavior.

2. properly slice the pages
Enhance autopaginate to accept a style argument.

Default is 'standard'. Additional options are 'backwards', 'infinite', or 'finite'.

template examples:
{% autopaginate object_list 5 %}
{% autopaginate object_list 15 infinite %}
{% autopaginate object_list 5 finite %}
{% autopaginate object_list backwards %}
{% autopaginate object_list 5 standard %}
Infinite pagination uses a different template for a twitter like paginator.  'more'
documentation on 'style' option. 

All work is backwards compatible. However, it is now advisable to override the ``paginator_standard.html`` template instead of ``paginator.html``.
Merge remote branch 'upstream-infinite-fork/add_backwards_option'
Cache the result of get_next (code from http://dancarroll.org/blog/2010/05/extending-infinitepaginator/ )
Add an option to skip invalid page checks when using Infinite Paginator. Good for performance
on invalid pages: if enabled, autopaginate alone will not cause any query on invalid pages
Add a setting to control the default style for the pagination, site-wide.
Merge https://github.com/liberation/django-pagination

Conflicts:
	pagination/middleware.py
	pagination/templatetags/pagination_tags.py