Added option for prioritisation of overdue tasks

Tasks that are overdue can be listed at the top of each individual
section, and a configurable string added to each line. Also corrected a
bug at the end of the script. Comment lined now start with a double
dash instead of a hash.