Added config options to enable combining and minification.

This is a little more flexible then using the ENVIRONMENT constant
directly in the library - what if somebody wants to perform the caching
in dev mode?