Add method in StatModel class, to load from a String

Added a method "loadFromString", which is based on the "load" one, to the StatModel class. It
allow to directly pass an XML string which can be usefull and faster when you have a huge trained file in a variable.