Removed uses of inverted_safe() to be able to run on 2.70
Use a bit of introspection (bl_rna of bpy types)
Changed confirm/cancel to be a Press event by default
Made auto-registered keymap(s) customizable