Start using dev-dependencies, minor fix in build.dart

Review URL: https://chromiumcodereview.appspot.com//12695011