Synapse 0.5.0 Compat Fixes

0.5.0 changed how several power level type events work, combining a lot of them into one. This branch fixes the web client to work with the new format.