MOTECH-1289: SMS IT Work - StatusControllerIT

Turns out there was a nasty bug in the SMS module's StatusController
which would have been caught with a minimal IT. I fixed the bug and
added the IT.

Change-Id: If99c2e621e50bba771f519eea3665b1d3ca07124
Merge "MOTECH-1289: SMS IT Work - StatusControllerIT"