Build TestData during grunt test.

Fixes #365
Fixes #372
Fixes #370
Fixes #375
Update WWA-Application tests to work outside of WebUnit.

Fixes #378