Major refactoring

All the code is still there, but some bits have been extruded to live their own life (such as mstruct) and other bits have been replaced by the handy core_kernel library.
Add an _oasis file
Rename test/ to lib_test/

The tests itself has not been changed
Update the build system to switch from obuild to oasis
Update .gitignore