Update Intl to require Dart 2.0, remove deprecated API usage

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=204549210
diff --git a/CHANGELOG.md b/CHANGELOG.md
index babbdfc..f245e8c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
 ## 0.15.7
+ * Upate to require Dart 2.0. Remove deprecated calls,
  * Compensate for rare cases where a parsed Date in date-only format gets a
    1:00am time. This is presumably because of DST time-shifts. We may not be
    able to correct these dates, because midnight may not exist at a transition
diff --git a/lib/src/intl/number_format.dart b/lib/src/intl/number_format.dart
index 8396584..04576dd 100644
--- a/lib/src/intl/number_format.dart
+++ b/lib/src/intl/number_format.dart
@@ -1191,7 +1191,7 @@
     }
 
     var normalizedText = _normalized.toString();
-    num parsed = int.parse(normalizedText, onError: (message) => null);
+    num parsed = int.tryParse(normalizedText);
     if (parsed == null) parsed = double.parse(normalizedText);
     return parsed / scale;
   }
diff --git a/pubspec.yaml b/pubspec.yaml
index d1bb179..10bfdf9 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,19 +1,18 @@
 name: intl
-version: 0.15.7-dev
+version: 0.15.7
 author: Dart Team <misc@dartlang.org>
-description: Contains code to deal with internationalized/localized messages, date and number formatting and parsing, bi-directional text, and other internationalization issues.
 homepage: https://github.com/dart-lang/intl
+description: >-
+  Contains code to deal with internationalized/localized messages, date and
+  number formatting and parsing, bi-directional text, and other
+  internationalization issues.
+
 environment:
-  sdk: '>=1.24.0 <2.0.0'
+  sdk: '>=2.0.0-dev.48 <3.0.0'
 documentation: http://www.dartdocs.org/documentation/intl/latest
+
 dependencies:
   path: '>=0.9.0 <2.0.0'
 dev_dependencies:
   fixnum: '>=0.9.0 <0.11.0'
-  test: '>=0.12.0 <0.13.0'
-transformers:
-- $dart2js:
-    $exclude:
-    - test/date_time_format_file_even_test.dart
-    - test/date_time_format_file_odd_test.dart
-    - test/find_default_locale_standalone_test.dart
+  test: ^1.2.0
diff --git a/test/fixnum_test.dart b/test/fixnum_test.dart
index 12978b3..04e65fc 100644
--- a/test/fixnum_test.dart
+++ b/test/fixnum_test.dart
@@ -80,6 +80,7 @@
 
   test('micro money', () {
     microMoneyValues.forEach((number, expected) {
+      // ignore: deprecated_member_use
       var currency = new NumberFormat.currencyPattern().format(number);
       expect(currency, expected.first);
       var percent = new NumberFormat.percentPattern().format(number);
diff --git a/test/number_format_test_core.dart b/test/number_format_test_core.dart
index 68cb849..61b5e78 100644
--- a/test/number_format_test_core.dart
+++ b/test/number_format_test_core.dart
@@ -149,6 +149,7 @@
     expect(formatted, '€1,000,000.32');
     var readBack = usConvention.parse(formatted);
     expect(readBack, amount);
+    // ignore: deprecated_member_use
     var swissConvention = new NumberFormat.currencyPattern('de_CH', r'$');
     formatted = swissConvention.format(amount);
     var nbsp = new String.fromCharCode(0xa0);
@@ -158,7 +159,8 @@
     readBack = swissConvention.parse(formatted);
     expect(readBack, amount);
 
-    var italianSwiss = new NumberFormat.currencyPattern('it_CH', r'$');
+   // ignore: deprecated_member_use
+   var italianSwiss = new NumberFormat.currencyPattern('it_CH', r'$');
     formatted = italianSwiss.format(amount);
     expect(formatted,
         r"$" + nbsp + "1" + backquote + "000" + backquote + "000.32");
@@ -175,6 +177,7 @@
 
     // Verify that we can pass null in order to specify the currency symbol
     // but use the default locale.
+   // ignore: deprecated_member_use
     var defaultLocale = new NumberFormat.currencyPattern(null, 'Smurfs');
     formatted = defaultLocale.format(amount);
     // We don't know what the exact format will be, but it should have Smurfs.