Update web/lib/api/v4/relation.rb

/api/4/relation/roles should be using rtype as param.

Was using type as param which is inconsistent with /api/4/relation/stats 

Also, example was using role as the param