New sources organisation.

Now the lib per se is compiled apart, and moved in src/lib, and the testscases
are in src/examples. The Makefile is adapted to that new source tree.