setools: APOL Add constraints and filename transition support

Update apol with constraints tab that will display type/attributes as
per policy version (<29 display types >= 29 display whatever was in the
source policy).
Update apol plus libapol and libqpol to support the filename
type_transition searches in the terules tab.
Fix bools tab to support namespace bools (for CIL).

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
setools: APOL Add support for permissive types, polcaps, handle_unknown

Added search for permissive types on Types tab.
Added new tab for policy capabilities (no search as small number).
Added handle_unknown flag in policy summary window.

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
setools: APOL Add type, user, role bounds support

Added bounds support and various fixes to handle_unknown and the
APOL types_tab.tcl

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
setools: APOL Add default_objects and CIL policy namespaces tabs

Add support for default_object rules and displaying CIL namespaces
with any users, roles, types, classes, booleans, sens & cats declared.

Fixed generating file index on File Contexts tab where it would hang
forever if broken links/files (mainly when generating indexs for Android)

Also enhanced the previous features in te_rules and types tabs.

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>