Invoke `grunt test` when running on TravisCI

Also move the call to `uglify` task to the `default` task, so it is not
always run when the tests are run.