pidstore: inital upgrade

* Adds initial upgrade script from Invenio v1.x for pidstore module.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>