closes #522 - references resolve on the basis of the first key
Merge pull request #672 from ractivejs/gh-522

[breaking change] gh-522