Adding a simple JS <-> Ruby communication bridge.

NOTE: this commit include debug console message in both Ruby and JS. Remove before release!
If you run this on windows the JS might break on my `console.log` calls. Disable these if you pull my change for testing.

**Don't pull yet!** This is not tested under Windows.

This makes the delete buttons function correctly, but the add group function broke somewhat. Now the first time I click the Add Group button nothing happens, but it does work after that. However, when I looked into that I found the nested operations - so that needs to be fixed anyway.

If you want to try out the code I think you can pull into a separate branch.