Buildify BUILD and WORKSPACE files (#633)

For Bazel build system support.
diff --git a/.gitignore b/.gitignore
index 551c74e..b7c6e95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@
 examples/using_union_messages/encode
 generator/nanopb_pb2.pyc
 !generator-bin/**/*
+bazel-*
diff --git a/BUILD.bazel b/BUILD.bazel
index f9fc57f..becdc57 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -5,17 +5,17 @@
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
-  name = "nanopb",
-  visibility = ["//visibility:public"],
-  hdrs = [
-    "pb.h",
-    "pb_common.h",
-    "pb_decode.h",
-    "pb_encode.h",
-  ],
-  srcs = [
-    "pb_common.c",
-    "pb_decode.c",
-    "pb_encode.c",
-  ],
+    name = "nanopb",
+    srcs = [
+        "pb_common.c",
+        "pb_decode.c",
+        "pb_encode.c",
+    ],
+    hdrs = [
+        "pb.h",
+        "pb_common.h",
+        "pb_decode.h",
+        "pb_encode.h",
+    ],
+    visibility = ["//visibility:public"],
 )
diff --git a/WORKSPACE b/WORKSPACE
index 2837cb3..e23271b 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1 +1 @@
-workspace(name="com_github_nanopb_nanopb")
+workspace(name = "com_github_nanopb_nanopb")