Compile Solarus as a shared library.

This is better for unit tests.
Move headers in a solarus directory.

This might be useful if you use Solarus as a library.
Reset everything when stopping.