catch resource exception while getting DB last insert id
handle PDO exceptions in formatters which uses PDOStatement as traversable
Merge pull request #39 from Serjick/pdo

PDO exceptions