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

Some native HTML5 form validation features included also.