Added addtional exceptions for Salesforce response errors, refresh token now working properly, misc refractoring