Added view parameter attachments

Added view parameter attachments to include attachments in returned docs.
Merge pull request #38 from sujeetpillai/patch-1

Added view parameter attachments