Include entity capabilities hash in outgoing presences Also, started some work on using jsdoc for rendering API documentation. Ideally that would go into a separate commit but that would take ages to untangle.