Implement downloads

The download function takes an object (including propertyName)
and returns a url.
Merge pull request #53 from gladhorn/download

Implement downloads