Parsing: Handle newlines in input.

* Fixes madskristensen/WebEssentials2013#601.
* Added test case.
* Update .gitignore.