Add prepare() in Query [SERINA-10]

This gets the constructed querystring bits as an imploded string which
can then be executed in PDO etc