Modified everywhere that links are built and returned in the API to append the sessionkey (if one is present) onto the link, this means you can click around the API easily without having to mess around with pasting the sessionkey into the query string every time.

Signed-off-by: Martin Evans <martindevans@gmail.com>