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