Add url and scope fields to responses from several API views
This will later allow the client to print web URLs to objects rather than the base API URL and the object ID (#766 (closed)). I considered having the client construct web URLs itself, but in some cases that's difficult because it doesn't always know the scope.