Don't trigger the stablekarma threshold if the update is being pushed (#649)

https://fedorahosted.org/bodhi/ticket/649
Add an autokarma push race unit test
Merge pull request #32 from fedora-infra/feature/stablekarma-push-race

Fix the stablekarma-during-push race condition bug
Revert "Drastically speed up our tests by only starting TG once."

This reverts commit 552c05a03ccfef234ffb8a6e52087ef316ead814 until we can
figure out how to get it working on EPEL6.
PEP8: Remove trailing whitespaces (W291)
PEP8: Add whitespace around operators (E225)
PEP8: One statement per line (E702)
PEP8: No blank line at end of files (W391)
PEP8: Raise exceptions the correct way (W602)
PEP8: Remove redundant backslashes (E502)
PEP8: Indentation by multiples of 4 (E111)
PEP8: Only one space after operators (E222)
PEP8: Closing brackets to match indentation (E124)
PEP8: Use 'is' for boolean comparisons (E712)

There are 4 other occurences of this error, but we can't fix them
unfortunately.

They appear in some SQLObject queries, for example:

    PackageUpdate.select(PackageUpdate.q.pushed == True)

Replacing the "==" comparison by a "is" changes the queries, and they
actually start silently failing.
PEP8: Continuation intentation by multiples of 4 (E121)
PEP8: Distinguish continuation lines from indented block (E125)
PEP8: Don't use too much blank lines (E303)
PEP8: Add some missing whitespace (E301)
PEP8: Reindent continuation lines (E122)
PEP8: Drop space around brackets (E201 and E202)

This drops the whitespace after an opening bracket and the whitespace
before a closing bracket.