Added -R flag to `ajv api` to only generate ReST.

Only the ReST source files will be generated, but nothing will be built.
Added scoremanager doctests to .travis.yml.
Added ReST API generation to .travis.yml.