Fix bug in set_java_home. If both java-7-openjdk and java-6-sun were available it was choosing jav-6-sun do to a missing break.  It now chooses java-7-openjdk by default and only falls back to java-6-sum if java-7-openjdk is not available.
Add Module::Install and Gearman::XS to modules install outside carton to fix build errors.
Ru update_modules_with_carton to fix the install.
* update "provides" section of MooseX::Types::DateTime::MoreCoercions on cpanfile.snapshot to include a version number instead of "undef"; installation of a direct Media Cloud dependency Net::Amazon::S3 fails otherwise
* manually install Module::Install in the update_modules_with_carton.sh script too (just like in install_modules_with_carton.sh); use Perlbrew's "cpanm" for doing that because otherwise the system strings (e.g. "x86_64-linux-thread-multi") get mixed up on some Ubuntu systems
Reconnect to the JVM if the PID of this process changes
I'm not sure this is necessary since we're not running in shared JVM mode but better safe
Switch to the JNI mode to for imporved performance.
set the EC2 preferred instance from "t1.tiny" to "m1.small" to give Media Cloud more breathing space ("t1.tiny" also just stops working sometimes, probably uses too much RAM)
Merge branch 'master' into cm_create_controversy