Improved clarity of src/global.h

Global defines are now documented with references the specification when possible. Removes some redundancy.