Added repository recreation app

Sorry for such a big PR.

The main ideas are:

 - the creation of a new app for recreating the repo
 - the use of memory quantities where appropriate
 - the use of a custom MR job to recreate factsets   
Can we share the ingest partitioner here? Seems almost the same.