Fix for non-critical exceptions on session write for MySQL if no data was modified; applied to AgaviMysqlSessionStorage and AgaviPdoSessionStorage. Closes #1361 and closes #1374