Change method name to getSequenceNumber
Refactor replicator per API spec
Update waitForRows() to not return boolean, and throw exception.
fixes in dev code for tests