Modified the way that the attachment is get from Cloudant
Merge branch 'master' of https://github.com/rafamelo12/home_guard