add util methods to models package import
Fix chat sending

- add extra contexty things for listener to be able access flask globals and db
Merge pull request #10 from TronPaul/master

Nightly Pull