refs https://github.com/firebaseco/mongoose-attachments/issues/24 : export reference to attachments plugin.
Merge pull request #2 from itagenten/master

Export reference to attachments plugin