Some fixes and improvements to the libcourante header

Now we actually include modules.