Add definitions for decoders and ajaxsettings, further defined some instances of "Function" and "any"
Merge pull request #2301 from bczengel/amplifyjs

Amplify - Add definitions for decoders and ajaxsettings