Fixes bug 882126 - New style signature_history service.

This includes a few PEP8 error fixing as well. 

@peterbe r?