Support closures in annotations

This pull request adds support for closures in annotations, e.g.

```php
#[@test, @values([
#  function() { return true; }
#])]
public function test_with_closures($closure) {
  $this->assertTrue($closure());
}
```

This is a prerequisite for xp-framework/rc#283.