added nevra filter flag to query C API
added python bindings to nevra attribute filter
replaced deprecated fail_unless with ck_assert_int_eq
distro-sync doesn't replace arch (RhBug:1054909)