make PathObserver.defineProperty take four arguments and avoid needless allocation

R=arv
BUG=

Review URL: https://codereview.appspot.com/29320043