BUG: Take the absolute difference between times when determining the correct tick interval
TST: Added test for inverted limit with autodatelocator
STY/TST: pep8 fixes for test_dates
Merge pull request #3524 from cimarronm/autodatelocaltor_3522

FIX : Bug in AutoDateLocator when dates are in reverse order