64bit support
Changes needed to OGR code for 64 bit IDs.

The OGR library doesn't support 64 bit integers. So we have to either use
doubles to represent large IDs or we stay with the 32 bit integers where we are
sure that the IDs are small enough, ie. for ways and relations.