Define AI grading API.

Sketching out the AI grading API interfaces.  (The PR goes to the AI-grading branch, which I created today off of master).

@stephensanchez @gradyward