Adds sandbox/production booleans and test mode booleans.

Also, adds support for remove_location and query_911_alert.