nrichand/BrownBagLunch — pull request #134 by janosgyerik (2013-12-19 00:03:37+00:00)
Title: Better baggers js

I restructured `baggers.js` file in a more natural way: baggers and cities are now separate lists:
```
var data = {
"baggers": [ ... ],
"cities": [ ... ]
}
```
Baggers have a new attribute `cities`, which is a list of *city names*, for example:
```
{
"name": "Camille Roux",
...
"cities": [
"Paris",
"Montpellier"
]
},
```

I think it's a lot more natural to organize this way.

- The `baggers.html` page still needs the old format, so I added a helper function to rebuild that.
- I did the same for baggers and rh/baggers.
- I had to rewrite most of the unit tests.
- I also fixed the coding style to follow the conventions used in the project (camelCase naming, 4-space indents).
- I noticed that `baggers.html` already had `lodash` in it, so I started using it in the new utility methods and in unit tests

Please test carefully before merging.