Cleaning up link generation to be strongly typed, and to be less verbose. Also adding redirects so tests work with web api 2.