Add Apache RAT License Auditor plugin, and fix missing licenses

Change-Id: Ic0fa0b7836e8a69d0d8beed83f9c3b41c168afd4
Reviewed-on: https://asterix-gerrit.ics.uci.edu/263
Reviewed-by: Chris Hillery <ceej@lambda.nu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
diff --git a/asterix-examples/src/main/resources/admaql101-demo/static/js/asterix-sdk-stable.js b/asterix-examples/src/main/resources/admaql101-demo/static/js/asterix-sdk-stable.js
index 03f41fe..a866946 100755
--- a/asterix-examples/src/main/resources/admaql101-demo/static/js/asterix-sdk-stable.js
+++ b/asterix-examples/src/main/resources/admaql101-demo/static/js/asterix-sdk-stable.js
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2009-2013 by The Regents of the University of California
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * you may obtain a copy of the License from
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 function AsterixDBConnection(configuration) {
     this._properties = {};
     this._properties["dataverse"] = "";
diff --git a/asterix-examples/src/main/resources/asterix-sdk-stable.js b/asterix-examples/src/main/resources/asterix-sdk-stable.js
index 3e5aa8d..646ca61 100755
--- a/asterix-examples/src/main/resources/asterix-sdk-stable.js
+++ b/asterix-examples/src/main/resources/asterix-sdk-stable.js
@@ -1,3 +1,17 @@
+/*
+ * Copyright 2009-2013 by The Regents of the University of California
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * you may obtain a copy of the License from
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 /**
 * Asterix SDK - Beta Version
 * @author Eugenia Gabrielov <genia.likes.science@gmail.com>
diff --git a/asterix-examples/src/main/resources/tweetbook-demo/static/js/asterix-sdk-stable.js b/asterix-examples/src/main/resources/tweetbook-demo/static/js/asterix-sdk-stable.js
index 3e5aa8d..8b89a4e 100755
--- a/asterix-examples/src/main/resources/tweetbook-demo/static/js/asterix-sdk-stable.js
+++ b/asterix-examples/src/main/resources/tweetbook-demo/static/js/asterix-sdk-stable.js
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2009-2013 by The Regents of the University of California
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * you may obtain a copy of the License from
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 /**
 * Asterix SDK - Beta Version
 * @author Eugenia Gabrielov <genia.likes.science@gmail.com>
@@ -5,6 +20,7 @@
 * This is a Javascript helper file for generating AQL queries for AsterixDB (https://code.google.com/p/asterixdb/) 
 */
 
+
 /**
 * AsterixDBConnection
 *