Add utilities to handle provides and conflicts.

Create insert and query functions for conflicts.
Create insert and query functions for provides.
Add the corresponding structures and utility functions.