[ui] Convert Hue to jQuery

* Updated Beeswax
* Upgraded jQuery to 1.7
* Styled filechooser
* Added fileuploader
* Initial support for table creation
* Initial import for Shell app
* Improved Filebrowser and JobDesigner, WIP
* Improved usability and look'n'feel
* Added sign out link and fixed login page
* Updated colors, fixed bugs on filebrowser
* Update H1 consistency on Beeswax
* Updated H1 consistency in JobBrowser
* Sample material for Babel i18n
* Implementation of common header and footer on Desktop
HUE-614. Add a mechanism to sync Hue DB with Unix passwd and groups

This adds a Hue command, which will iterate over the users and groups in
/etc/passwd and /etc/groups, and import any missing ones into the Hue database.
It will also update the user-group membership all users and groups. Ideally,
this can be used via a cron job, or some other periodic setup, to keep the
database updated with Unix information.
HUE-615. Basic group management

Create, modify membership, and delete groups. Group membership doesn't do
anything yet. But it will!
Add generic REST client library
[webhdfs] Be able to browse filesystem via webhdfs

* Added rest client library, with a simple http client.
* Added a webhdfs implementation of the HadoopFileSystem,
  currently capable of browing the directory structure.
* Add webhdfs config to indented ini files
* Read file working
* Implement file creation and append
* Add the write interface to the legacy File object
* Implement file/directory removal
* Add chown, chmod, mkdir, rename, get_home_dir, get_content_summary
* Modify the config to allow specifying a service URL
* Update to REST client
* Automatic json decoding based on response Content-Type.
* Add pseudo_hdfs4 module to allow testing against CDH4 HDFS
HUE-616. Remove desktop-test.db from source control
HUE-608. ACLS for Hue apps

This commit introduces a number of concepts: user profiles, desktop
permissions, and group permissions.

User profiles are primarily around to store some metadata about users that is
otherwise not available through the Django user model.

Desktop permissions are introduced to manage permissions on an app-by-app
basis. It makes sense to implement them differently than Django's internal
permission infrastructure, because the Django permissions are tightly coupled
with permissions on models, i.e. creating, removing, updating models.

Finally, group permissions are a relationship between groups and permissions.
In this current implementation, users will not have direct access to
applications, but rather, they must have group membership which grants them access
to apps. Superusers will always have access to all applications.
[filebrowser] Fix filebroser to be compatible with webhdfs

* Unit tests run against webhdfs
* Decode/render i18n paths correctly
* Fixed upload handling
Add group ID parameters to Unix sync
[jobsub] Add configuration for "oozie_url"
[build] Allow HADOOP_HOME to point to a CDH4 hadoop
[jobsub] Remove java from jobsub

We're rewriting jobsub to use Oozie later. I'm doing this now so that it'd
build against CDH4.
[test] Skip cleanup of pseudo HDFS tmp dir if $MINI_CLUSTER_CLEANUP is `false'.
[thriftfs] Remove irrelevant parts of thriftfs plugin

* The JT plugin stays, for MR1 job info gathering.
[build] Point pom to build against CDH4 nightly jars

* Update jenkins script to use CDH4 tarballs
* (Finally) renamed `hudson' to `jenkins'.
* Download MR1 tarball
[build] Updated version to 2.0.0
[build] Upgrade thrift to 0.7.0
[Beeswax] Fix Hive-0.8.1 compatibility
[beeswax] Show welcome screen (when metastore is empty)

The welcome screen wasn't ported to the jquery style yet.
This fix made it show up, instead of generating stack traces.
We still need to beautify it.
[hadoop] Fix unit test for webhdfs

* Moved hadoopfs_test.pyto test_webhdfs.py.
* Create webhdfs file when mode == 'w'.
* Add config for MR1 location
* Fix minicluster unit test
* Minicluster runs against MR1. Updated several Hadoop configs that have
  changed names.
* Added config validator for webhdfs.
* Modified cluster middleware to look only at hdfs filesystems (instead of
  defaulting to the local filesystem).