buildsys: Improve the getBuild function

This actually fixes all the unit tests.

It also makes the code of the function simpler.
model: Remove unnecessary code

Both our dummy buildsystem and Koji already set the "nvr" key on builds:

    >>> from bodhi.buildsys import DevBuildsys
    >>> session = DevBuildsys()
    >>> session.getBuild('bodhi-0.9.7-1.fc19')["nvr"]
    'bodhi-0.9.7-1.fc19'

    >>> import koji
    >>> session = koji.ClientSession("http://koji.fedoraproject.org/kojihub")
    >>> session.getBuild("bodhi-0.9.7-1.fc19")["nvr"]
    'bodhi-0.9.7-1.fc19'
Merge pull request #22 from bochecha/tests

Fix the unit tests
Improve how we handle duplicate entry exceptions in the unit tests.

This makes it so we don't have to handle different exceptions for postgres,
sqlite, etc.

The test suite is now back at 100% for me again.
Add update submitter to the update.comment fedmsg payload.
Merge pull request #24 from fedora-infra/feature/update.comment

Add update submitter to the update.comment fedmsg payload.
Add more info to that bodhi.update.comment fedmsg payload.
Merge pull request #25 from fedora-infra/feature/update.comment2

Add more info to that bodhi.update.comment fedmsg payload.
Suppress urllib3 INFO messages.

Once python-fedora started using python-requests, we started getting
a lot of unnecessarily verbose info messages from urllib3.
Plot new package updates in our metrics
Merge branch 'develop' of github.com:fedora-infra/bodhi into develop
Fix a typo in the logger config