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