added to_ord function to pycomp.py
fixed GPG key retrieval error
removed installed function from dnf.queries
removed installed_by_name function from dnf.queries
removed installed_by_nevra function from dnf.queries, added nevra Query method
removed available_by_nevra function from dnf.queries
removed available_by_name function from dnf.queries