Move ReportDialog into separate view and reference it in Results
Add a default report name when the model's name is not set

This commit also adds a placeholder message to the email textarea and
updates the IDs of the input elements on the ReportDialog modal.
Rename report to query to maintain naming consistency
Set the url on the QueryModel
Add support for saving the query with form validation
Remove ModalRegion to use a more streamlined query dialog construction
Remove ids in favor of classes and fix the hide call in save handler
Use ui elements in place of lookups everywhere
Retrieve the queries and store in core data
Remove url from QueryModel, create new model in collection for dialog
Remove redundant call to render()
Only add model to collection on save and pass collection to dialog
Remove unnecessary initialize() method and model property
Use get() to access model properties
Use better context/view json accessor and remove old comment
Include ui/query in the cilantro ui extensions
Initialize model if not defined and check name text input not model name
Only create the query dialog once and then toggle its visibility
Add queries endpoint and empty mock data for (shared)queries
Add QueryDialog open/close methods, add error handling

The open and close methods are more transparent to consumers of the
dialog, so they don't have to be aware of the modal plugin. Also, it
enables proper setup and cleanup of the dialog. The `open` method takes
an optional model which is needed for updating existing models so the
modal can be shared for creating and updating.

Error handling has been added in case a model save fails in which case
the modal opens up again prompting the user to try again.