Fixed wrong 'write_connection' variable name for models.
Make 'write_connection' variable default to 'connection' if not set in models.
Merge pull request #87 from MacTwister/1.8/develop

Fixed wrong 'write_connection' variable name for models.