Allow building LuaD as a shared library

Off by default, enable with LIB=shared
Add support for SONAME in the shared library build

Set to .0, and the real name set to .0.0.0 due to the lack of actual
releases.
Merge pull request #1 from GreatEmerald/master

Shared library & SONAME support