Only build source maps in dev mode.

This involves adding a command line option to our grunt script to
set the environment to either "dev" or "prod", with "dev" being
the default.