Make default profile mode configurable from appengine_config.py

Example use case: we want the default to be instrumentation + RPC on dev server and RPC only in production, unless the current user changes it.
Merge branch 'make_default_mode_configurable'