- allow locks to check for a key's species so that newly defined keys can open previously defined locks without the need to redefine them.
- moved secret found message to string table and removed the CVAR crutch that dates from a time when modifying string table content wasn't as easy as it is now.
- added 'showsecretsector' CVAR to show the sector number with the secret found message.
Fix LZMA compilation on GCC with position-independent code (PIC) generation enabled

EBX register is used Global Offset Table in PIC
http://www.greyhat.ch/lab/downloads/pic.html
Rebuild nodes for hellfact map04
Weap scroll could sometimes miss sameslot weapons

In rear cases, when using next/prevweap, defined weapons in the same
slot couldn't cycle when looping to another when you only had weapons in
1 slot.
Merge branch 'upstream' of https://github.com/Edward850/zdoom
Merge branch 'upstream2' of https://github.com/Edward850/zdoom
Fix crash on attempt to save cached OpenGL nodes on OS X

Root permissions are required to be able to create directories inside /Library/Application Support
So user's ~/Library/Application Support is used to store cached nodes
- fixed: plane equation vectors must be normalized when being loaded from UDMF.
Fix crash when GL nodes file cannot be opened for writing

Report errors to console if nodes file cannot be opened or written
Remove redundant saving of GL nodes if they were loaded from cache