Add @join tag for repository methods so that they can join on method return values to properties of a returned entity. Fix minor issues with cache and ensure tags.