Reset karma to 0 on edit

When testers submit karma to an update, it shouldn't be kept if the
update is edited and its builds are changed.

However, we keep the history of comments added, because that is
important.

Also, if no builds are changed (e.g just the update notes were
modified), then there's no point in resetting the karma to 0.

https://fedorahosted.org/bodhi/ticket/388
https://fedorahosted.org/fesco/ticket/1238
Fix changelog handling

The RPM API does not seem to always return a list for the changelog
timestamp(s).

Bodhi has some code trying to identify that and treat it accordingly.

However, it was based on the identified cases where this happened (there
is only one changelog text) instead of just being based on whether or
not the changelog was a list.

It seems that this behaviour in the RPM Python API, as I'm now seeing
cases where Bodhi thinks the timestamp is not in a list, when it
actually is.

This commit fixes this.