fixes for sms stuff.

Lockfile fixes the -reload buggery with incoming sms messages worker thread.

Also you'll need to add to settings.py:

SMS_LOCKFILE = STORAGE + "/sms.lock" 

Now that it works reasonably, next commit I will break this SMS stuff out into its own brainmeat...