MDL-40038 - web services: Added an alternative to using the context id.

Context id is more of an internal Moodle identifier, so we have now included
contextlevel and instanceid in the funciton core_files_external::get_files().
MDL-40038 - web services: Added unit tests for core_files_external::get_files().