Add clang-format file, tweak style-check.sh

Add an initial .clang-format file, based on LLVM's style base. Inform
the style-check wrapper to only consider h, c, and cc files when it
runs, and print out the --verbose output upon failure.
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..27ba3b3
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,4 @@
+---
+BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+IndentCaseLabels: false
diff --git a/scripts/style-check.sh b/scripts/style-check.sh
index 1e90b16..04aa1b2 100755
--- a/scripts/style-check.sh
+++ b/scripts/style-check.sh
@@ -14,12 +14,10 @@
   exit 1
 fi
 
-n=$(git clang-format $GITREF --binary $CLANG_FORMAT --style llvm --diff --quiet | wc -l)
+cmd="git clang-format $GITREF --binary $CLANG_FORMAT --diff --extensions h,c,cc"
+
+n=$($cmd --quiet | wc -l)
 if [ $n -gt 0 ]; then
-  echo "git clang-format $GITREF --binary $CLANG_FORMAT --style llvm --diff"
-  echo
-  git clang-format $GITREF --binary $CLANG_FORMAT --style llvm --diff
-  echo
-  echo "clang-format returned non-empty diff, please fixup the style" 1>&2
+  $cmd -v
   exit 1
 fi