Added Documentation to Web-Api.

Added web-api.rst to the manual, which covers every currently supported command in the web-api along with examples and notes. Updated the comments in the web-api commands for the javadocs.