New CMake macros
Merge from unstable
Updated lua macros to generate optional static modules
Updated travis hook
Reverted lua macros
Updated travis hook