first lua tests

Including a refactoring, which gives the first rockspec for sinatra