pipeline_lua: embed base Lua code during the build process and create sandbox

Reviewer: @harshsin 

This change lets us write Lua code that gets linked in to the binary. The goal
is to set up the sandbox from Lua, rather than making lots of calls to the C
API.