Changing object references from object.id to object.pk
Fixed Q object query that triggers a deepcopy bug in Python < 2.7 when a backend stores an Ellipsis object on the user
flake8
Built a pre-cached permission dict to reduce the number of queries.
flake8
Added a performance test
prepended 'base' to all new cache stuff in the base permission class
removed base prefix
refs #1: added a git ignore file
refs #2: added docstrings and comments
refs #2: properly tested invalidate_cache
refs #3: added a unit test showing that groups are broken
Merge pull request #1 from PolicyStat/issue_1

Add a git ignore file
Merge remote-tracking branch 'origin/master' into issue_3
refs #3: made a distinction for the cache that it was a group free cache
refs #3: Added a cache for group related permissions.
Merge remote-tracking branch 'origin/master' into issue_2
Merge branch 'issue_2' into issue_3

Conflicts:
	authority/permissions.py
	authority/tests.py
added docs/build/* to the .gitignore
refs #4: made a base test case for smart caching