Use configure_file for maxminddb's config file.
Alternative get_tail implementation.
Add travis file.
Merge pull request #1 from killme/master

Some cleanups and fixes