Nightly reset db, continuous deployment

Add 2 optional features:
- Reset db every night;
- Continuous deployment based on GitHub Webhooks.