Changes below.

1. add some configuration fields to dogo.Site
2. add a go file for some helper functions named lily.go
3. change some panic statements to a template function `check`