Compressed the date formats into ALL_DATE_FORMATS
PEP8 fixes
datetime.timedelta.total_seconds is only available since Python 2.7
Use pip to install build/test deps
Ignore PEP8 E128, sense it makes no