start refactoring ReferenceExpressionResolver
fixes #884 - allows dependants to effectively unresolve
test for #884
Merge pull request #907 from ractivejs/gh-844-c

Fixes #906 and #884