Add $ROOT_URL option and replace PHP short tags

If the value of 'root_url' is added to the $teams array in phplib/config.php, then set the value of $ROOT_URL for all links, forms, and redirects. Otherwise, it will default back to just '/' like it is already.

This will allow operation on subdirectories like 'mygroup.company.com/opsweekly'.