A Cotswolds pub which was built in Tudor times is set for expansion, after receiving a six-figure funding package.