First implementation of material upload without binaries

Material can now be saved (all parameters not including the texture
binary itself);
Server is a nodeJS server that is not included here.