fix a bug with our compilation server; reduce the size of the compiled o...

- handle the case where dart2js is unable to compile the file, and responds with errors
- move the dart2js tests into the `services/test` directory. The compiled size of Spark shrinks by ~6MB.
- fix an issue in the new project dialog


@umop for review