More ReferenceProperty cleanup.

Also make local CZML references work (though implementation is a little hacky right now)