Docstrings and formatting.

Now compatible with PEP8!

Also shows how bad the Wing editor is. Whitespaces added whenever you hit enter?What a recipe for disaster.
Docstrings and formatting for sms.py.

Also passes PEP8 tests! Wing redeems itself with feature to strip whitespaces on saving!