The inelastic hard dimer gas: A nonspherical model for granular matter