Added test for inlining image attachments

Need to enable option to inline image attachments.
Possibility to inline image attachments

Added new option to config.yml with which admin can choose to show
image attachments inlined (i.e. using img tags) instead of just a link.