MB-7879: wrap python integers into c_uint64
MB-7879: wrap python integers into c_uint64

Using Python values as they are is not safe. We must explicitly
specify uint64_t in order to avoid problems with 32-bit platforms.

All unit tests passed (both 32-bit and 64-bit GNU/Linux).

Change-Id: Id3c9544908f2c02ac94fcdf62f222d75740f3c89
Reviewed-on: http://review.couchbase.org/26131
Reviewed-by: Bin Cui <ed18693fff32c00e22495f4877a3b901bed09041@gmail.com>
Tested-by: Aaron Miller <41fcc51335f382e0855796cc35dd33f571f2d8f7@ninjawhale.com>
Reviewed-by: Aaron Miller <41fcc51335f382e0855796cc35dd33f571f2d8f7@ninjawhale.com>

vmx/couchstore,t3rm1n4l/couchstore,couchbaselabs/couchstore,vmx/couchstore,jimwwalker/couchstore,t3rm1n4l/couchstore,abhinavdangeti/couchstore,vmx/couchstore,couchbaselabs/couchstore-specials,couchbaselabs/couchstore,jimwwalker/couchstore,abhinavdangeti/couchstore,t3rm1n4l/couchstore,jimwwalker/couchstore,couchbaselabs/couchstore-specials,couchbaselabs/couchstore-specials,couchbaselabs/couchstore-specials,couchbaselabs/couchstore-specials,couchbaselabs/couchstore,abhinavdangeti/couchstore