compatibility for TypeScript 0.9.5

adds compatibility for TypeScript 0.9.5, extends aws-sdk, and corrects a method signature in underscore.