- added catching of wrong parameter in all function in db.js
- fixed bug with reminder count in getMessageCounters()