Proper project setup

These commits are setting up a build environment with autotools (it took me a while to get my head around the basics and building libraries...) and is building a shared library without tests in Travis-CI. Testing is yet to come, at the moment I don't know how to implement testing for C projects in Travis-CI with autotools.

This can be seen as the base for further development.