adding file related attrs to asset file model

This adds some file attrs to model and uses those attrs to compute
the cache path.  This allows the cache path to be stored as an
instance var and accessed as a reader.

In addition, this adds an `href` reader for accessing the href url
for the asset file.