Fix all code analysis warnings

WindowsAzure#100