ussd messages

WIP - not ready for merge yet
Managed to test searching messages by contact and got all the messages including the ones with no connection. Also checked the SQL queries that get called and no issues there.