refs https://github.com/firebaseco/mongoose-attachments/issues/24 : changed exports to return a reference to attachments plugin. Updated Readme to make this clear.
merged conflicts from firebaseco master
fixed typo
Merge pull request #8 from itagenten/master

Export reference to attachments plugin