Added support for a custom layout attributes class

It is useful to be able to pass the progress, for example, to the cells during complex transitions. Previously the transition layout was using UICollectionViewLayoutAttributes by default instead of honouring the class defined by `layoutAttributesClass`