Bug 937040 - Revise contacts app to adapt to WebIDL changes in a uniform way