Moved a lot of extern to its own header in radiant.

Signed-off-by: revelator <ralphengels@gmail.com>