Adding mathematical function library for sqlite3 and load it by default.
Adding LOG(base,value) function for sqlite.
Adding LN() function for sqlite3.
Making compilation with PostgreSQL and MySQL optional.