Fix some python2.6 -3 warnings. (mainly usage of has_key)
Fix all Python 2.6 deprecation warnings.
adding new pytz