Fix up refChanges implementation to handle an array rather than a single value.

w/ @mfinch
Extract method to clean up specs.
Update documentation for build ref support.