Added the filenameId attribute.

filenameId allows the user to customize the filename.
Before: /dir/objectId-original.jpg
Now: /dir/<custom-model-attribute>-original.jog
Merge pull request #20 from SeyZ/patch-1

Added the filenameId attribute.
Fix examples; add syntax highlighting
refs https://github.com/firebaseco/mongoose-attachments/issues/24 : fixed localfs example
Merge pull request #21 from potomak/master

Fix examples; add syntax highlighting
Updated URLs from the old git account to the new one
Merge pull request #27 from ifraixedes/master

README urls updated
Allow multiple options for each convert arg
Merge pull request #30 from ericsaboia/master

Allow multiple options for each convert arg
refs https://github.com/firebaseco/mongoose-attachments/issues/25 : merged heapsource master
Merge pull request #25 from nuarhu/master

Fixed localfs example
Added support for new optional options boolean argument "idAsDirectory". This will allow you to store files into a sub-directory based on the image id instead of having everything in a single structure.
add validation of required methods for providers
Fail if imagemagick is not installed
Merge pull request #39 from Calamari/master

Fail if imagemagick is not installed
Merge pull request #37 from letsface/validate-provider

add validation of required methods for providers
Merge pull request #36 from 902Labs/master

Added support for new optional options boolean argument "idAsDirectory"....
Add propertyName to the attachment's defaultUrl

- allows multiple attachments with the same styles

closes #1
Update conditional '/' prefix
Merge pull request #44 from shake-apps/master

Add propertyName to the attachment's defaultUrl