NF: add set_install_id
NF: add tree_libs, fix calls for non-object files

Add first draft of tree_libs, more tests to come.

Make get_install_names / get_install_id return null values when testing
a non-object file.
WIP: testing subtrees