updated, added and removed patch files and fixed sqlite3 file for RHEL 5