Edge case specs for Curly::Scanner

`Scanner#scan` will hang when encountering a line break in a Curly reference or a Curly comment. Also, whitespace around comment lines doesn’t get stripped away correctly.