`$kinvey.File.$save` demonstrates deep reference recognition

When saving an object the `$reference` method is used as a marker to detect and flatten nested Resource instances into references.

Reference: issue #19.