Switch to using explicit commit for the router API.

See alphagov/router-api#28 for the corresponding change.

Also added an option to skip the commit of routes so that routes can be bulk added in an efficient manner.