Move config object from engine module to core
Add some quat API, sq() macro in core/util.h