Support diary file

It is now possible to drag a diary file and drop it on the page and have
it parsed for keywords and durations.  Diary file durations are
displayed next to the measurement durations.

This is not a very clean patch, but it works.  I wanted to commit first,
rather than wait after having cleaned it up.  Also, there is a
.arrayFirst that assumes that there is only one entry per day, which of
course is an invalid assumption.