Using history rewrite for submit instead of a git squash merge. Fixes #37.

Reviewed in https://codereview.appspot.com/9629043/