add dev script list_loaded_kext_ids

For the benefit of Cask authors writing uninstall stanzas
Merge pull request #2567 from rolandwalker/devscript_kext

add dev script `list_loaded_kext_ids`