Add trusts helper code

Snippets taken from heat/common/heat_keystoneclient.py

Fixes-bug: #1311112
Partial-bug: #1313948
Change-Id: I0f9dbb5033c279b863861b10eb1386ae9093a3ca
Merge "Add trusts helper code"