make fieldtype pattern for email and url come thru
move stylesheets to top of head
javascript form validation

Adds a error: "error text" to field definitions.
Displayed when a field does not validate.
Merge pull request #2019 from GDmac/2.0

Javascript form validation [cl]