Populate the link rel="up" field

Per #151. (I forgot to make this commit last week.)