Test version
Stop hard-coding version information in constants.php * setup.sh: Move main thread code after function declarations * setup.sh: Store version information in cache * constants.php: Use cached information to determine BETA vs PROD version, update base.php template