added state and previous state to intents table;
    nulls for selects;
    removed data deletion on unknown db version;
    refactored json serialization;
service start reason is logged one time on creation, not on every intent;
predefined title for service started reason
Merge branch 'master' of https://github.com/anvish/MyDayLog