Changed how `__DEV__` and `__PROD__` are defined and used to be coherent between backend and frontend
Merge pull request #251 from my-koop/mike_dev_prod_var

Changed how `__DEV__` and `__PROD__` are defined and used to be coherent...