gitignore: add .libs dirs
configure: build shared libraries by default

Static libraries can cause trouble, better to build a shared library.
Makefile: install library, add include header sub-dir

Install the libraries, headers alone are otherwise useless. Install
headers in a libesl sub-directory in the include directory. Important in
particular because of the generic include names.