Fix handling of top level enums

R=antonm@google.com, sigmund@google.com
BUG=https://github.com/dart-lang/dart-protoc-plugin/issues/14

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