Added signing and refactored some of form example.


Former-commit-id: f8b1ba24fa5abd74d8081c34d98e3d3379748955
Former-commit-id: 67abaf61cf754f1bf45891855a21aab9ce63e006
Merge branch 'refs/heads/master' into vic/sig-revisions


Former-commit-id: 742889b5631b2eeb5643717e7851f8ccd1d0ca45
Former-commit-id: 97c3890d860d48d8f23763649ac6a33cea879a69