Change to a resource approach for packages as well.

* Remove filename functions in favor of relative_path
* Add package.files property that works both for source and binary package
* Add get_resource_data() - get base resource data from dist and component
  levels
* Add more docstrings
* Cleanup get_indexes()
* Add properties to models
Change source > url use