PostgreSQL fix for saving images in DB

PostgreSQL requires type cf_sql_LONGVARBINARY instead of cf_sql_BLOB
Merge pull request #1064 from sebduggan/develop

PostgreSQL fix for saving images in DB