Jhbate/message edit

WIP - @nicolashery if you could have an initial look at this PR i would appreciate it. It should be all woking in mock mode but still to fully test against deployed services.

One thing I managed to break though is the bower instal - it doesn't quite make sense how it is broken but if you run it it will fail - any ideas? 
Missing a comma here :)