Added DateFormats and refactored the patterns there.
A bunch of changes that I'm too lazy to fully comment. Mostly related to forms and a cleanup of markup.