got rid of python-like __MAGIC__ flags
moved to a more modern flag system
GIT_VERSION => REVISION and other improvements to checking if code is production