Initial import from Invenio

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>