appenderRef in groovy configuration

The groovy configuration does not allow use of AsyncAppender without doing the hack as seen in http://jira.qos.ch/browse/LOGBACK-269
Here is a changeset allowing defining appender('name', AsyncAppender){ appenderRef('othername') }