Update instructions for running application stack in dev VM
Merge pull request #830 from alphagov/readme-1

Update instructions for running application stack in dev VM
Upgrade govuk_template_mustache to 0.9.1

https://github.com/alphagov/govuk_template/compare/v0.8.1...v0.9.1
Upgrade frontend toolkit from 1.4.0 to 2.0.0

https://github.com/alphagov/govuk_frontend_toolkit/blob/03380d5577ce65d6680220294ca7861b58fa15a9/CHANGELOG.md
Merge pull request #831 from alphagov/upgrade-govuk-dependencies

Upgrade GOV.UK dependencies
Add in `.DS_Store` for fools like me
Add in json plugin to requirejs

- Allows us to load in json fixtures using requirejs
- Uses `json` plugin from https://github.com/millermedeiros/requirejs-plugins to load in json
- This has a stupid syntax, but I think it's better than adding a huge object into our tests
Move fixtures to base of app
Add fixtures in as initial dependencies

- In order to pacify both `grunt jasmine` and `grunt jasmine_node` we need to load in our fixtures before running any tests. I couldn't find a way to reliabily load in fixtures at the time of running the test: the environment has to be setup first
- Renames fixtures to something a bit more obvious
- TODO: add global fixtures path?
Just test ten dashboards — we're in sprint mode!
Merge pull request #832 from alphagov/feature/load-json-fixtures

Feature/load json fixtures
Add extra cheapseats entries to the travis build matrix

- Push travis's build matrix (http://docs.travis-ci.com/user/speeding-up-the-build/) to run 5 jobs concurrently
Revert "Pin nodejs to the version we use locally."

This reverts commit c3383199d0446a211b5b2f1f6abf385e3c47a407.

Travis only provides the latest stable version (0.10.x), so 0.10.31
is no longer available on some machines.
Merge pull request #833 from alphagov/more-pseudo-concurrency

Add extra cheapseats entries to the travis build matrix
Add in convenience methods to gauge whether query is flat
Remove dashboards from git

- When we run cheapseats locally we end up with a `dashboards` folder, we shouldn't be adding this into version control
Add in _unflatten method

- Rolls back flattened data to look like unflattened data
- Still needs to assemble a `_group_count` key by counting group name values (e.g. number of channels of a particular type)
Group flat data by a key using `groupByValue`

This is essentially a shim that will convert flattened data into grouped data, ready to be reflattened!
The backdrop response that comes back 'flat' is not the same as spotlight's understanding of 'flat' so this is a temporary fix before we refactor data parsing in a more wholesale way in spotlight, once we're certain about the way it comes back from backdrop
- takes a value and an array of collects
- rebuilds grouped objects ready to be pushed through the remaining parsing methods
- adds `getCollect` convenience method to `data_source.js`

Parse groups with more than one record correctly

 - Move to using groupByValue function rather than flatten
 - needs some looking at aggregations that are not sums
Merge pull request #835 from alphagov/feature/parse-flattened-data

Regroup flat data responses
Request flat data for the availabilty module

- Adds `flatten: true` to query-params of the module