Update documentation generator to work with the Documentation system.

Also added this flag to the generator:
-H  Now that we generate by default .jd files rather than .html files,
    you can use this flag to revert to generating .html files.  This is
    useful when verifying doc changes locally.

And modified the -v flag to specify the API level for all file generation
rather than just the testing files.

Change-Id: Ic9e35ad6779b9fbc6b23228dded2e2be864393ff
diff --git a/api/Scanner.cpp b/api/Scanner.cpp
index 660dd24..84af581 100644
--- a/api/Scanner.cpp
+++ b/api/Scanner.cpp
@@ -133,6 +133,12 @@
     return mTagConsumed;
 }
 
+void Scanner::skipUntilTag(const char* tag) {
+    while(!findOptionalTag(tag)) {
+        mTagConsumed = true;
+    }
+}
+
 void Scanner::checkNoValue() {
     if (!mValue.empty()) {
         error() << "Did not expect \"" << mValue << "\" after \"" << mTag << "\".\n";