dart-protobuf: moved parts into src dir, added types, fixed static warnings

Also updated unittest dependency and fixed format of pubspec

R=sgjesse@google.com

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