fixes #100
added plugin interface for upcoming control panel
Add fixes from browser-sync-client lib