Create endpoints to change contribution state

It closes #36.