Makes Reference extend Record and changes the alternate ReferentialText constructor to look for the data-reference attribute for enhancements in order to deserialize the Reference.
Merge branch 'master' into feature/reference-data
Formatting.
Adds Reference#entrySet for backward compatibility.