Remove json.dumps() for options in dashboard tests

These calls to json.dumps() around the options dictionary was causing
the tests for fail locally for me. However, the tests didn't fail
when run on Travis.
Merge pull request #233 from alphagov/bugfix-tests-json-dumps-options

Remove json.dumps() for options in dashboard tests
Add in method to list for spotlight

This produces a stripped down list of published dashboards which is
formatted identically to the dashboards.json file that spotlight uses to
drive it's homepage and services list.
If no slug is provided, return dashboard list for spotlight
Fix validation of modules with no data set

Previously if the data_group and data_type were set but empty it would
fail with not being able to find the data set. As @timmow suggested, be
liberal in what you accept and conservative in what you emit.
Merge pull request #235 from alphagov/fix-module-with-no-data-set

Fix validation of modules with no data set
Do not cache module type or node list endpoints

The endpoints that are just going to be used by the admin app, we do not
want to cache.
Merge pull request #236 from alphagov/do-not-cache-node-list-pages

Do not cache module type or node list endpoints
Spotlight config json migrated to stagecraft

Includes a test in tools to verify this - it will loop through spotlight
configs and load spotlightified dashboard json for each. It will then
diff them and report on any differences in the imported models.
Token option and use correct environment hostname

Add an option to pass a token and use the environment hostname from
django settings rather than hardcoding both assuming the dev machine.
Get signon token from settings
Skip no-realistic dashboard

Now we validate modules, this contains invalid modules. But we
dont care about it anyway, so skip it
Allow module description to be blank

Some modules have an empty description - this wasnt picked up earlier
because we were not validating modules.
Use HTTPS rather than http

HTTP works on the dev vm but in "real" environments we use HTTPS -
posting over HTTPS will return a 301 which results in a get request
being made.
Merge pull request #234 from alphagov/dashboards-list

Dashboards list
Merge pull request #225 from alphagov/spotlight-config-migration

Spotlight config migration
Provide a constant in development settings to set that we are in development lol
Fix for list structure required by spotlight

In order to match what spotlight expects we must wrap the returned list
in 'items'. It is debateable whether spotlight should change rather than
this but considering this end point is only to be used in spotlight it
seems it's better it should happen here.
Merge pull request #238 from alphagov/fix-list-for-spotlight-format

Fix for list structure required by spotlight
Use `ENV_HOSTNAME` instead of lols