Fix RemoteStorage lookup not using media instance
Encode media into temporary files by profile
Remove encoded and encoding fields from MediaBase

These fields are less meaningful and occasionally misleading now
that media can be encoded into multiple profiles. For now, manager
methods allow for similar, dynamic filtering.