Convert addVertex() & getVertex() to work with callback or promise.

Remove the interim methods addVertexP() and getVertexP() which
are no longer necessary.