pkg2: expose ability to add and rm package requirements.

This should ultimately also call resolve and provide transactions.