Postgresql compatibility for agent model
date_add for mysql correction
Gem mysql2 + port for test environment
Add to_i for Agent postgres compatibility
Merge pull request #184 from ms32035/master

Postgresql compatibility for agent model