Tests

Added tests. Not finished, but no longer fails thus ready to merge: no tests is worse then partial coverage.

Other non-tests stuff:

- Python 3.2 and 2.6 support.
- Fixed weather segment (by the way how did it happen no one complained about it not working?).
- Some documentation improvements.

After merge please enable travis for your repository.