Added mongoose + form submission and doc creation
- added option to include scripts in the header for jade templates that extend layout