Fix library detection for MYSQL,POSTGRESQL,SQLITE3.

Fix library detection for PACAKGE_CRYPTO.
Adding missing autogen.sh
Update changelogs.
Update travis test config.
Merge pull request #99 from sunyc/master

More compile fix with dependency detection.