Proposed signature simplifying the use of the library:
* functions only return what they are supposed to
* errors are encapsulated in exceptions (to be defined)
Implemented new interface - untested.
Changed exception type, cleanup.
Imported tests and switched to Makefile-based build and install.
Build fixes
Merge pull request #4 from skydeck/mj/use-exceptions

Matthew, new interface using exceptions