Use #defines for QSRequirements keys

Also - document all keys in a doxygen style way