lua: refactor install steps
lua: handles BR2_PREFER_STATIC_LIB

fix compilation with Blackfin FLAT

see http://autobuild.buildroot.net/results/b41/b4146bf821d59f694546f6e3a341394cc8fa43ce/
luajit: handles BR2_PREFER_STATIC_LIB
ljlinenoise: new package