Pandas time series support added to time series plugin.

The plugin has been simplified and refactored.