initial fix for decimalyear on python2.6

total_seconds method was introduced in 2.7.  Added a
compatibilty function to achieve same output.  All
calls with .total_seconds() are now wrapped in a
try/except clause to switch to the new implementation
if the method doesn't exist.
Merge branch 'decimalyear'