Import r1248 from Kex and add CMake definitions

r1248 | svkaiser | 2014-01-12 19:23:22 -0800 (Sun, 12 Jan 2014)

+ Initial implementation of RNG seeding from PrBoom for demo syncing
+ Demo code moved into its own module