Translate rel names (eg 3.0.0) to builder named (eg 300)

Change-Id: I971581ad30748cc7141dd7a1044f8f44b632d3be
Reviewed-on: http://review.couchbase.org/34326
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>