Adds Oauth2 scope authorization checking to RestApi response handler and corrects a couple import oversights in Oauth2AuthServer in the process; very close to being ready for use now, needs further testing though.