Update nginx to work with WebSockets

Need a recent version of nginx (>1.4) to make this work
Add WeMo kasa module
Create CLI module
Adapt frontend WeMo code to new framework