Full support of storage roles

Missing patches that makes UI work with storage roles well.
Merge pull request #40 from Ladas/master

Full support of storage roles.  Tested with aaa653d6a2e0bede680db8f0a509d12db963ba2a for TIE.