Timer with persistency

Introducing timer alerts stored to a database powered by sqlite. Also a complete timer.js rewrite.

TimerPoller currently polls the database `resources/simojs.sqlite` twice every minute for new alerts. This can be easily changed in `main.js`.