implement REST return code documentation

and /cluster/nodes docs. fixes #242