This patch checks for libs instead of programs in configure.ac for sqlite3 and postgesql.

Patch submitted by amirouche
use href='javascript:;' instead of href='#notifications', etc
need to set postgres path