mod.View printHeader & footer and sendMail +++

- added missing database handle instance at core
- added sendMail functionality
- documented handdleSession
- fixed sanitize() if there is no mysql connection present