Adds CTidy for tidying on iOS and associated files, HTML fallback too.

Adds error reporting along with libtidy/CTidy and added ifdef for CTidy

Further changes, HTML fallback added and introduced new constants for dealing with the tricky nature of XML tidying between platforms	

Moved the location of the macros into MTConstants and MTFoundation-iOS