- added initDB function that is called when starting FireBee (adds change listener)
- added function endFireBee that is called when the operation is closed
- added function onDBChange that is called when something changes in the local PouchDB
- moved the isOpenOperation call to onDBChange
Merge branch 'master' of https://github.com/lukolb/firebee