Only try to reconnect ActiveRecord connection if ActiveRecord is present

This fixes #127
Added fix to CHANGELOG
Merge pull request #129 from berkes/feature/ar-availability-check

Only try to reconnect ActiveRecord connection if ActiveRecord is present