Removed custom urlencode methods, and switched to built in urllib.urlencode
 (fixed incorrect escaping)
Moved testing code to sms_test.py