Fixed bug causing nested layouts to add double head and foot content.
Fixed bug causing a header line to show up in plain text email.
Fixed bug that prevented object chaining when order() is used.
Various fixes and tweaks to forms and added password type.