Change dburl to fit heroku parameter
Change editor's mode based on snippet's tags

- bugfix: support postgres
- bugfix: make description optional in model and json parser