Handled EmailReference

This pull request handles the EmailReference pointer message which has been described in #4.
Oh, I copy and pasted the wrong Attachment code... please see the updated code above. 

On the XML, I suggest we should store the content as Base64-encoded string so we don't have to unpack each attachment file and place it in temporary folders.

Essentially, I propose this:
```xml
<?xml version="1.0"?>
<email xmlns="urn:grean:schemas:email:2014">
  <from>
    <smtp-address>foo@foo.com</smtp-address>
    <display-name>Foo</display-name>
  </from>
  <to>
    <address>
      <smtp-address>bar@bar.com</smtp-address>
      <display-name>Bar</display-name>
    </address>
    <address>
      <smtp-address>qux@qux.com</smtp-address>
      <display-name>Qux</display-name>
    </address>
  </to>
  <subject>Test</subject>
  <body>This is a test message.</body>
  <attachments>
    <attachment>
      <content>/9j/4AAQSkZJRgABAQAAAQABAAD//gA7Q1JFQVRPUjogZ2Qta ...</content>
      <mime-type>image/png</mime-type>
    </attachment>
    <attachment>
      <content>/9j/4AAQSkZJRgABAQAAAQABAAD//gA7Q1JFQVRPUjogZ2Qta ...</content>
      <mime-type>audio/mpeg</mime-type>
    </attachment>
  </attachments>
</email>
```