Added chapter for the REST API.  Updated the tests to show how to use the REST API also.