Merge pull request #244 from stianst/master

Added view roles, including updating console to make forms read-only
claims backend
Merge remote-tracking branch 'upstream/master'
claims UI
IDToken setup
refactor model
Merge pull request #245 from patriot1burke/master

IDToken and claims
Use ClientModel wherever possible
Merge pull request #246 from patriot1burke/master

Use ClientModel wherever possible
rename scope rep username to client
Merge pull request #247 from patriot1burke/master

rename scope rep username to client
Fixed permissions not updated when realm is imported