add some logging into to dart2js compiles

Change the server to use an HTTP 302 response code to do redirects. Add some additional logging to the compilation server. @keertip