Merge branch 'release/0.4.0' into develop
PEP8 Guideline in: dbapi.py
Import don't use in model.py
PEP8 Guideline in: uitls.py
Add import pprint in script initializedb.py
Add again Person.opt_out == False
Merge pull request #23 from yograterol/develop

Fix minor issues in Tahir-API
users with same amount of badges share rank
fix "overtaking" when updating a person's rank
update tied rank unit tests
fix SA unicode warning in unit tests
appease pep8
Merge pull request #27 from nphilipp/develop

users with same amount of badges share rank, some janitorial work
Send the badge id along with fedmsg.

This is needed by the websocket handler for updating the frontpage.  It
used to be there, but got dropped in one of the recent refactorings.
Tests for fedmsg badge_id.
Merge pull request #28 from fedora-infra/feature/badge-id-for-fedmsg

Send the badge id along with fedmsg.
0.4.1
Merge branch 'release/0.4.1'