Forums new post form should reset state when user cancels

TNL-148
Instead of defining a helper function, Jasmine makes it easy to do programmatic test definition:

```
_.each(["tab", "inline"], (mode) =>
  it "resets the form in #{mode} mode", ->
    ...
```