Item attributes, references and referencelists are simple objects

To fix problem identified in #533 use simple objects in the items database for attributes, references and referencelists. This means many fewer ids need to be assigned during the load, hopefully removing the need to change InterMineObject.id to a Long.