Add PREFIX env variable handling in the makefile
s/ldbcore.so/libldbcore.so in the Makefile
Add support for enabling LDB only by luaopening ldbcore
Use the luaopen mechanism to load ldb in the test file (and fix the .h by the way)
Add an install target to the Makefile