update to new mottle 0.5, with ability to register listeners on Window
fix delete connection in flowchart demo
fix issue #307, setContainer causes events to be bound multiple times
unit tests for fix for issue #307
1.7.3. alpha