Fix lack of sanity checks on pStat structure in NspiQueryRows leading
to uint32_t overflow and later on array overflow (#cr-1876)

Add Zentyal functional testsuite to mapitest and test coverage for cr-1876
Merge branch 'master' of https://github.com/openchange/openchange
Merge pull request #74 from openchange/master

Fix compilation
Merge branch 'master' into trusty