[FEATURE] Add lastModified and filesize to Resource

Resource instances now have getFilesize() and getLastModified() methods.

Change-Id: Id91ecca2c8d6a89f542f4431264f1e3b0efb7f3c
Releases: master
Resolves: #49137
Related: #45003