Name anonymous property functions

When instrumenting code, use the property name instead of ‘anonymous<num>’.

```js
{
  foo: function() {
    // If anonymous, this function will be named ‘foo’.
  }
}
```
Merge pull request #522 from vojtajina/name-property-functions

Name anonymous property functions