Stringifying arguments passed into @cached

Also added a bit of documentation to the @cached decorator.