Add edit_package method in the internal API

* Adjust the unit-tests accordingly
* Fix the fedmsg message published
* Fix outdated documentation

Fixes https://github.com/fedora-infra/packagedb2/issues/21