Expose ref to create_status() function and set to "base" by default
Add integration tests for the new --check-commit-status options