Rewrite of the #204 fix to support multiline metadata

Now working with metadata like this:

```haxe
@:allow(path.Type,
        path.Type2)
```

Didn't work previously because only the current line was examined.