Changed .php files encoding to utf-8
changed mysql queries to be compatible with utf8

for hebrew support etc..