Moved get()-caching to a queryset method instead of the manager. This makes
cache useful for all queries by pk. The pk-caching is slightly smarter, since
it intercept __exact queries too. This commit makes django-idmapper
compatible with Django 1.3.
 * Store cached objects in thread locals instead of model classes.
 * Added middleware to be able flush the entire cache after a response.
Workaround for not crashing south
be smarter about figuring out when querying for pk (and useful with django 1.6)
Merge master branch into pk

--HG--
branch : pk
extra : amend_source : d1a668a1bce1280ffc631ecc12d1d8f961b73571
Added .hgignore

--HG--
branch : tk
Added runtests module

--HG--
branch : tk
Reverted a change that broke 2 tests

(changeset 149326e398929ba9d6baffbc9916799192e8d079)

--HG--
branch : tk
Merge changes from pk

--HG--
branch : tk
Added version.py + updated setup.py

--HG--
branch : tk
extra : amend_source : c7658cd38883bb53c9428bbe13e101e64cbfa7c7
Finished __init__.py cleanup

Deleted lazy_object (not really useful)
Moved thread local storage in base.py

--HG--
branch : tk
Added buildout

--HG--
branch : tk
Tests are now in tests folder, settings are in a dedicated file

--HG--
branch : tk
rename : idmapper/tests.py => tests/tests.py
Updated setup to use distutils

--HG--
branch : tk
Cleanup (esp. comments) + PEP8

--HG--
branch : tk
Version 0.2.1

--HG--
branch : tk
Added tag v0.2.1 for changeset 4d9c64a4f3ad

--HG--
branch : tk
Getting ready for v0.3

Objective: Append use_weakref parameter

--HG--
branch : tk
extra : amend_source : c3cc186b007ad1f68dfbf61d7adc8c83329a4737
Ooops, tests must have their own app

--HG--
branch : tk
Merge tests app fix from 0.2.1

--HG--
branch : tk