Expand metadata button; closes #502
Minor cleanup: moving data-gen to dataview.base-test
Adding momentjs to the compilation process
Better tests for date sorting
Testing that the view by menu renders all select one questions
Adding some tests for the submission legend
Some minor refactoring / cleanup
Pulling out repr into its own function.
Merge pull request #874 from onaio/649_maptests

649 maptests