fix compile error

Compile run throwed an error on compiling with being tr not declared.
Adding #include "qgsmessagelog.h" and QObject:tr fixed it to compile again