Add test for checking if automatic ID assignment works for the IC writer
Merge pull request #65 from Moredread/improvment/test_automatic_ids

Add test for checking if automatic ID assignment works for the IC writer
Track obj -> id map separately to improve performance.

This hugely speeds up the ics writing, from 60s in id_assign to <<1s for one of
my setups (500.000 cells).

Memory shouldn't be a problem, as the map only saves the hash of the key,
and the reference to the key and value.

See the implementation of dict in 'Objects/dictobject.c' of the Python source
tarball, or
http://stackoverflow.com/questions/327311/how-are-pythons-built-in-dictionaries-implemented
Merge pull request #64 from Moredread/improvment/id_assign_speed

Track obj -> id map separately to improve performance.