Collector interface
- Removing old mocks in json.
- Refactoring the Collector to use the interface
- Adding the database stats methods.
- Refactoring some old mocks.
- Refactoring Mark's code to build status history by making it more efficient.
- Just some renaming on struct attributes.
- Testing if merge request can be edited.
Edited by abhayashrestha