Repo: allow synchronous or asynchronous Release.checkRepoState

We need this method to be asynchronous for checking the Sizzle version in jQuery core. This change is backwards-compatible.