scoped session factory
use Session in loadtest view
Merge branch 'master' into coredb

Conflicts:
	corehq/apps/hqadmin/views.py
use nicer with-syntax for multimedia zip
extract zip and media file iteration from DownloadMultimediaZip
add multimedia to offline install

implemented by refactoring DownloadMultimediaZip and then subclassing

this required moving a fair amount of code around to get rid of import cycles
add a local authority to media resources for offline install
put only the right profile file in .ccz

- exclude everything except media_profile.ccpr
- name that file profile.ccpr
Add missing import
limit offline install changes to >=2.13 apps

- only include a local authority on media resources starting on 2.13
- only include the offline install option in ui starting on 2.13 apps
- pull out all enable_* methods of Application that check for feature
  support into a separate mixin, and have these methods available to
  SavedAppBuild for use in releases page
improve wording for Android Offline Install feature
Updated CouchDB Erlang Dependencies

install.sh was throwing an error because all of 1.3 erlang dependencies were not loaded (Source: http://wiki.apache.org/couchdb/Installing_on_Ubuntu)
Updated ES version 0.90.13 as per Readme file
Added 1 priority to java update-alternatives

The lack of a 1 at the end of this was throwing an error because update-alternatives requires a priority.
Added Assumptions and Detailed Java Terminal Info
Updated Ubuntu version to 14.04
Removed reference to chris-lea nodejs

Ubuntu 14.04 comes with a stable version of nodejs through the package installer. Nodejs is already installed in the apt-packages.txt file.

Will add npm to the apt-packages.txt file to make sure it's included.
added npm because removed chris-lea ppa in install.sh
Removed reference to chris-lea nodejs
Added Logrotate and update-rc.d