Implicit conversion of records to case classes for 2.11.x.

Review by @gzm @hubertp