old class DefaultResourceSet added as deprecated to solve plugin problems

Some gradle plugins(eg grails) throw java.lang.ClassNotFoundException because of renaming ResourceSet and DefaultResourceSet. I've added the old classes added as deprecated to solve these problem.