Made the query method smarter

I used the prepareQuery methiod first but I wanted it to be more easy.
Now I can preapre query's with the usage of one method: '$db->query()'
It can still use the PDO query by not defining the second parameter.