Bug fixes for Extending class in Silverstripe

Extended an existing class with this, instead of the default DataObject

private $imap is now protected so that it is passed correctly down the heirachy if not defined in other classes
Fix for incorrect number of arguments when defaulting to the native imap functions
Ensured fetchsubject and fetchfrom return the correct strings of the correct length