Allow custom formatting of due date strings.

Allow specification of a format for due dates in LMS. See http://docs.python.org/2/library/datetime.html#strftime-strptime-behavior for syntax of format string.

Includes unit tests for the 2 places in LMS code where the due date is displayed (left-hand accordion, progress page).