A Rails engine providing EZID services for Hydra applications