Handle include_* arguments in compare_metadata()

Attempt #2, hehe :)

So include_object is indeed very useful, but unfortunately compare_metadata() doesn't take it into account when it calls _produce_net_changes() (in contradiction to what _produce_migration_diffs() does).