New erlang to return stats to the frontend.

- Update MemberInfo record
- Update functions in wm_nodes.erl
- Update json in sesson.erl
- Add new DS.attr in the js