Update rest api documentation.

Added datasource documentation.
Renamed restapi -> portal.

The restapi.rst file only had portal.rst in it.
Update .js sources.
Merge branch 'gh-pages' of github.com:ddsc/api into gh-pages