* use `timedelta64_to_secs` everywhere necessary
* removed `max_sample_period` from all functions which can now use
`insert_zeros`.  This has simplified the code quite a lot ;)
Merge branch 'master' of github.com:nilmtk/nilmtk

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.