Working prototype of pivottable

Conflicts:
	core/src/main/webapp/js/oe/reporting/defaultDataSourceReportFormPanel.js
	core/src/main/webapp/js/oe/reporting/defaultDataSourceReportPanel.js
Enable saved queries in pivot table

Conflicts:
	core/src/main/webapp/js/oe/reporting/defaultDataSourceReportPanel.js
Clean up pivottable

* Upgrade to latest versions of pivottable, jQuery, and jQueryUI
* Load jQuery from CDN
* Use RequireJS to load everything
Upgrade to Q v0.9.7

We thought this may fix some IE issues. It turns out it doesn't, but it
doesn't hurt to upgrade. Long term, we'll probably replace Q with jQuery's
promise system since Q is overkill and has caused issues on IE.
Add HTML5 Shiv v3.6.2
Add augment.js v1.0.0

Long term we want to move to es5-shim, since it seems to be more compliant
with the spec and has more mindshare. But es5-shim breaks our version of
ExtJS.
Support pivottable in IE

This commit also gets rid of globalResources.jsp, which made it
impossible to include ExtJS in the <body> where it belongs. There's a
little bit more copy-pasting of code between login.jsp and main.jsp now,
but long term we want to do client-side routing anyway.

Conflicts:
	core/src/main/webapp/WEB-INF/jsp/globalResources.jsp
jQuery File Download Plugin v1.4.2
Export pivot table

Caveats:
* Selected columns are NOT preserved because that
doesn't make much sense for a CSV. If/when we decide to write XLS files,
then we can reexamine.
* File download is through an iframe. It's hackish, but that's the
"official" way to do file download in the browser. Don't be alarmed if
you see canceled requests in your browser's dev tools.
Add source maps for pivot.js
Don't save pivot params if it's not a pivot query
Upgrade pivottable to fix collision

Bump to https://github.com/gabegorelick/pivottable/commit/232fdd2e2b84e0fd04a505fa8414c54c4ef01380
to fix https://github.com/nicolaskruchten/pivottable/issues/34
Remove old pivot service endpoint
Merge pull request #18 from gabegorelick/pivottable

PivotTable.js