[BUGFIX beta] Rename registerASTPlugin to registerPlugin.
Merge pull request #10022 from rwjblue/cleanup-register-plugin-api

[BUGFIX beta] Rename registerASTPlugin to registerPlugin.