Add rel canonical to derived copies

I have added code to base.coffee that checks to see if the json returns a parentId. If so, it is a derived copy and a rel='canonical' tag with the parentId is added to the head of the page. If not, no tag. 
This should probably be something like `"//#{location.hostname}/contents/#{parentId}"`