Updated oaipmh and reindex scripts.
Updated RestAPI to better add()