Adding form validation based on http://jqueryvalidation.org/

Some native HTML5 form validation features included also.

Notes 
- many console debugging calls are still active
- apologies for the complete diff over the .html template, it was a formatting change which git doesn't handle very well, I'm a hg man myself. 
- JSON polyfill loaded via modernizr,
- I haven't included the unicode RegExp library in this fork, would like to discuss this