Add specs for Rex::MIME

Also fixes a couple of bugs while parsing data. Even when it's not a (super) used feature (parsing data to initialize objects) worths to add some fixes I think.

Verification
----------

- [ ] Run rspec for the new specs and ensure there aren't failures

```
$ rspec spec/lib/rex/mime/
Rex::MIME::Part .............
Rex::MIME::Header .....................
Rex::MIME::Message ..............................................................
Rex::MIME::Encoding ....

Finished in 0.11766 seconds
100 examples, 0 failures
```

- [ ] Ensure travis is green before landing
 
This will always pass because of the way setter methods work.  `foo=` methods always return their *argument*, not the actual return value from the method.  The reason for this is so statements like `foo = bar = 3` will work as you expect, but can be tricky with things like what you're doing here.  Always assign first, on a different line.