updated log function to use json
added time field to logs
Merge branch 'dev'
Merge branch 'master' of github.com:IDE4edu/web