wrapped a safeguard around the hook handler to make sure we're always working with an array
wired the hooks to clear the contact_methods after we delete the contact;
addresses the first half of http://bugs.web2project.net/view.php?id=1279
adding a note warning the severity of the method
wired a method to make sure that deleting a contact deletes the custom fields attached to it;
resolves the other half of http://bugs.web2project.net/view.php?id=1279
promoted the custom field cleanup from the Contact object to the BaseObject as it should apply to all objects;
eliminated the just-created preDelete hook for the Contact because now the id is captured in the BaseObject preDelete hook;
updating the hook to use the new id
Merge branch 'master' of github.com:web2project/web2project