get_link_roles() should handle other linkbases

xbrl.get_link_roles() should accept an object containing other
linkbases, but only operate on those specified.
Rewrite get_link_roles() to accept dict of dicts

The dictionary may contain other linkbases, which are ignored.
Cleanup link_role() file opening