Added return value from PDO::commit

Signed-off-by: Dejan Geci <dejan.geci@gmail.com>