Re-organised a lot of the javascript code so it's inside the object
"leo", which represents a namespace within the DOM.

The query string code is written to make manipulation of key/value
pairs easier to manipulate.

A query string is used to track if the date picker was opened or closed.
Merge branch 'master' into select-date-issue-11
Cookie and Query String management for leonardo
Merge branches 'master' and 'select-date-issue-11' into select-date-issue-11
Fixes #11. Sorry for such a large patch. Leonardo javascript moved to separate file, unified to and until query string.  Date picker remains open with the date selected between page reloads.
Merge pull request #28 from nzlosh/select-date-issue-11

Select date issue 11