Alex Gidman has signed a new three-year deal at Gloucestershire that will keep him at the county until the end of the 2016 season.