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.
Maybe you should have more failing conditions, like a closing brace or semicolons which would indicate you reached another declaration.