Changes to Timer Directive

I think I've got that directive the way I want it now.
Takes start time, end time and state attributes and either shows a
counter or the duration depending on its state.

Should be re-usable, however not tested it much yet