Overwrite models getAttributes() to include all attachments

If the trait overwrites `setAttribute()` and `getAttribute()` on the model to make attachments implicit attributes then the attachments should also be included in a call to all attributes of the model `getAttributes()`