Merge pull request #7329 from Dhilan007/v3-gc-refactor

issue #4689:Fixed lose disconnected event and incorrect device name/id.
[ci skip]
fixed missing zlib.h header path
check if _itemsPerRow == 0 to avoid divide by zero
Merge pull request #7330 from MSOpenTech/wp8-v3-fix

WP8 v3 build fix