Labbooks are now on a per-model basis, not a per-activity one
add unified no-cache headers to jnlp,config,dynamic_otml

Java 7 is more aggressive at caching and without these headers
it was caching the config and dynamic_otml files
prevent more dynamic files from being cached

Java 7's aggressive caching code was caching the bundles
and banner.
Conflicts:
	app/controllers/misc_controller.rb
Backport PUB
Model link to lab book is now an image in browser-based activities
Remove permanent floating lab book access

Instead, the lab book is always opened via links on the models.
Refactor browser-based model view code into its own partial

This will make it a little easier to work with in the future
Rename periodic bundle loggers imports to active_imports

Apparently there's some interference when using 'imports' which causes
the imports to be reset every time a new bundle comes in.
Add shutterbug snapshot support for browser-based models
Hide the labbook iframe until it has finished loading

This will give users some indication that things are happening, and
prevent them from accidentally working in the wrong album.
Shutterbug configuration changes

- Use the git repo for the gem
- Use a local instance of shutterbug server
Allow all logged-in users to use labbooks
Fix checking for enabled labbook before embedding labbook items
Move labbook helper methods into a library
Hide 'Search' link for students
Open browser-based activities in a new tab/window
Hide the java run link for students when browser-based is available
Only show browser-based run links in class edit page, when supported
Hide java run links in activity browsing when lightweight is available
Use custom css class instead of show and hide

That way we can override the css more easily