Added handling of pre-processors plugins.
Changed applications, plugins and jobs middlewares to use new files module APIs.