Acceptance test for the repository reprocess button

Signed-off by: Renan Fichberg <rfichberg@gmail.com>
Finished the reprocess action.

Signed-off By : Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
Refactored repository reprocess and its tests

Signed-off By: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
Signed-off By: Rafael Reggiani Manzo <rr.manzo@gmail.com>