Expose id, display_title and viewUrl consistently in the API for projects

Also updated JobPage to no longer compute the url manually.
Page classes should not be forming urls manually.