Huge patch to introduce low level functions that will bw used everywhere (mr_free, mr_asprintf, ...) Nearly linking now due to that.