added local.py to gitignore
fixed query for getting distinct years in events app

The old code was using raw sql queires. Replaced that with a simple
orm version of the same query.
added initial test suite setup and a sample test
added timezone info to subpages fixtures