Laravel 4 version of xethron/to-string, which adds query and queryLog to string functions.