Ian Westwood's first Championship century of the summer helps Warwickshire build a sizeable lead over Somerset.