WIP: moved lua files into bundle; builds on darwin; tests are broken

branched from songgao/upgrade_gyp