fixed reset() method in update and delete query builders, defined $_last_join field in the first one

Signed-off-by: Sergey Calugher <SlKelevro@gmail.com>
Merge pull request #1258 from SlKelevro/qb-reset

(Re-request PR#1252) fixed Query_Builder::reset()