Create DEV and PROD constants for better reference.

We had a lot of strings of 'development' and 'production', which I
replaced with the constants DEV and PROD.

Refs #12273