Made some small patches.

- Database: Always set names utf8 on connect.
- Response/Router: Write the session before outputting data and dying.
- Router: Made the $cache variable optional (now looks at option).
Merge branch 'master' of github.com:NilsCorver/kd118-lib