Change qpol wrapper to return strings for rule types.

Removes low-level policy representation details from the interface for
avrule/terule structs and adds the member function for filename_trans,
role_allow, role_trans, and range_trans structs.