make ref private API

This patch is the first step towards making ref resolve the first time that an instance is produced, but allowing dynamic tracking of ref by all instances (including binding to ref).

R=arv
BUG=

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