Adjust test to handle timing issue on upload modal

ref #1702
-change the tests for the cover and logo image upload modal to
 handle a timing issue in the way they are rendered
Merge pull request #2729 from jaswilli/test-errors

Adjust test to handle timing issue on upload modal
Another adjustment to handle timing issue on tests

ref #1702
-timing issue with the test still exists in #2729 since
 .description is added to the dom after the fact via js
Merge pull request #2730 from jaswilli/test-errors

Another adjustment to handle timing issue on tests
Clenaup API index.js, and add docs
Refactoring API arguments

closes #2610, refs #2697

- destroy expects an object, rather than an id all the way down to the model layer
- all API methods take consistent arguments
- route params such as :id, :slug, and :key are passed as an option & used to perform reads, updates and deletes
- browse, read, destroy take options, edit and add take object and options
- HTTP posts api can find a post by slug
- Add API utils for checkData