PEP8 compliance, use of strptime, better handling of old Python versions
Merge pull request #1 from mikewadsten/master

Better time parsing and stuff