- support compiling dict() return type (python 2.6 compat)
- do not overwrite 'from' field if present when sending a message
Honor the 'from' parameter, then default to self
Update api.py

- improve conditional handling of passed 'from'
Merge pull request #1 from benke/master

Some simple bug fixes and 2.6 compatibility support