MB-100 Support compiling against Lua 5.2
MB-100 Support compiling against Lua 5.2

Change-Id: If06a09d630d1b13565eeb30624395dcd0e9c4fe1
Reviewed-on: http://review.couchbase.org/20598
Reviewed-by: Jens Alfke <21e2afd93d5ce53123476032b5dca8a79b546094@couchbase.com>
Tested-by: Aaron Miller <41fcc51335f382e0855796cc35dd33f571f2d8f7@ninjawhale.com>

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