Added date formatter for javascript.

This formatter extends objects with a format function. Formatter can
be used like: new Date().format("dd-MM-yyyy").
Introduced History page.

Added ActionController to handle /action endpoints which effectively is
a proxy for JIRA.