Initial commit from http://flask.pocoo.org/snippets/116/
Add Envisalink.py from https://github.com/juggie/AlarmServer
Strip unused code
Import AlarmServerConfig
Refactor to use gevent instead of asyncore