Can get attachments limited to a filetype with the templatetag

Add an optional argument "only_type" to templatetag to get attachments fro an object limited to a specified filetype.

For example :

{% get_attachments_for object as "attachments_list" only_type my_file_type %}