Converting "for (i in array)" to "for (i = 0; i != array.length; ++i)"

This fixes the following issues, by changing the type of array used a couple locations:

https://github.com/nodejitsu/pkgcloud/issues/93
https://github.com/bevry/docpad/issues/441

It looks like for loops in Azure may also need to be cleaned up also, but I didn't touch them because I wasn't certain.