Newline handling is wonky

I'm attaching two failing tests. Both are edits to the same file (`test/features/semicolons_optional.es6.js`). The first is mostly cosmetic, for matching newlines in source and output (though I suspect something funny is going on in the logic that makes newlines disappear). The second one is an actual bug, because it produces invalid JavaScript like this:

```js
var x = {}var ajax = __imports__["jquery"].ajax;
```

Mocha's output is not really pastable, but here's a screenshot showing the missing newlines in various places:

![screenshot](https://f.cloud.github.com/assets/524783/1655082/6a85556a-5b5b-11e3-8577-72ad0601f8d4.png)