General clean-up
Improve error handling. Include error messages from libmaxminddb.
Added test with broken database