Remove unecessary check for KeyError in ctraits.c

The c code is adapted to remove the unnecessary check for KeyError after PyDict_SetItem. This also fixes issue #70.