API change for retreiving resources

The Resources() function replaces Images() and RawFiles().
The type of the resources is given as a parameter.
Doc fixes