fixes rSmart/issues#258

Squashed commit of the following:

commit ba3814209813e3001ca8fae6e666b84f61315aa4
Author: Przybylski 중광 <r351574nc3@gmail.com>
Date:   Wed Jun 25 00:53:15 2014 -0700

    fixup! Adding missing mapping for Attachment.

commit 7b08456871d502c3c2ee1f970178d714f180ff5d
Author: Przybylski 중광 <r351574nc3@gmail.com>
Date:   Wed Jun 25 00:50:46 2014 -0700

    Adding missing mapping for Attachment.

    fixes rSmart/issues#258