Grmodtool

Fixes the order problem for both pre-3.7 and 3.7 API style OOT modules.

Will also enable testing if this merges into next.