compatibility fix for PHP5 - removed assignment by reference (fixed #14)
added ilike condition for postgres databases (closes #13)