Make default profile mode configurable from appengine_config.py
Merged: make default profile mode configurable from appengine_config.py