Renamed Reader::getFormatedErrorMessages() to getFormattedErrorMessages. Bug #3023708 (Formatted has 2 't'). The old member function is deprecated but still present for backward compatibility.

diff --git a/doc/jsoncpp.dox b/doc/jsoncpp.dox
index 04fc165..97cc108 100644
--- a/doc/jsoncpp.dox
+++ b/doc/jsoncpp.dox
@@ -46,7 +46,7 @@
 {
     // report to the user the failure and their locations in the document.
     std::cout  << "Failed to parse configuration\n"
-               << reader.getFormatedErrorMessages();
+               << reader.getFormattedErrorMessages();
     return;
 }