merge REST API code from pymatgen.matproj.rest
merge REST API code from pymatgen.matproj.rest

materialsproject/MPContribs,materialsproject/MPContribs,materialsproject/MPContribs,materialsproject/MPContribs