Make is_plot return True in more applicable cases

fixes #1652 on github
Merge pull request #1667 from steventlamb/bug/1652_fix_popup_cache

Make is_plot return True in more applicable cases
Fix broken UI tests

* UI tests were making plots outside the instance bounds (`make_instance` had a default radius of 300 units WebMercator)
* `make_instance` now takes a `radius` argument, and the UI tests set it to 10000
* Also simplify management tests by using the `radius` argument
* Clean up imports in UI tests
* Add `wait_until_visible` for safety in `_click_delete`
* Fix misplaced `json_api_edit` in `delete_tree_view`
Merge pull request #1669 from RickMohr/fix-ui-tests

Fix broken UI tests
fix lint
Jshint fixups for unit tests.
Update grunt to jshint test scripts.