Added public API for Material module

Now the wadmapconverter and dehread plugins compile and link
successfully.