A picturesque pub in the Cotswolds has bagged a five-star rating on internet review site Tripadvisor.