add create edge to client api [see https://groups.google.com/forum/#\!topic/lumify/z5Vzz-ZgHxc]