Visit all components of dotted library name. Fixes #109.

BUG=https://github.com/dart-lang/dart_style/issues/109
R=sigmund@google.com

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