Fixed use of MC_SAFE_REPLACE_COPY.
Fixed interface for message getter method.
* Returns a pointer to IMAPMessage.
Fixed implementation of string() method.
Renamed RenderingType to IMAPMessageRenderingType.
Replacing double spaces with a single space.
Added comment to header file about character replacement.
Declaring templateForMainHeader method in subclass header.
Fixed return type for htmlBodyCallback().
Removed htmlCallback().
Replaced call to htmlCallback() with NULL.
Moved HTMLBodyRendererTemplateCallback class to its own file.
Fixed memory leaks.
* Allocating in constructor and assigning to ivars.
* Returning ivars in methods.
* Releasing ivars in destructor.
Merge branch 'master' into message-rendering-with-session

Conflicts:
	build-mac/mailcore2.xcodeproj/project.pbxproj