SONAR-5864 API cleanup
  * add a proper way to create perspective on InputFile
  * add a proper way to convert InputFile to resource
  * deprecate colorizer