HUE-2485 [core] Add strict redirection in EnsureSafeRedirectURLMiddleware

Hue has a security vulnerability that redirectiond to an arbitrary site
is allowed after a successful login if the '?next=' variable is modified
by a malicious hacker. This vulnerability can be used to mount a phishing
attack against the cluster where Hue is running.

This fix sets redirect_whitelist configuration default value to "^\/.*$",
and limits all redirections to the same host where HUE is running by default
to prevent phishing attacks.
HUE-2501 [metastore] Creating a table with header files bigger than 64MB truncates it
[desktop] Backport Django 1.5's ConditionalGetMiddleware to fix streaming bug

This fixes downloading csv files from beeswax.
[search] Add newline at the end of the file
HUE-2454 [useradmin] Use correct 'search_bind_authentication' in multidomain-style LDAP
[tools] Fix tools/jenkins/build-functions so the hadoop tests run on OS X
[desktop] Fix pseudo_hdfs4 starting up a yarn nodemanager
HUE-2503 [jb] Better handling of expired YARN jobs