Requisitions work

Bunch of misc requisitions changes.. Some code cleanup, some work on making SMS processing not explode, and a test for fulfilling requisitions (as well as a small fix so these actually work).