Merges few missing extension related functions from ioq3.  And fixes security issue with /writeconfig on non-.cfg files.
Merge branch 'master' of https://github.com/Razish/OpenJK