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 a String of a saved model which can be usefull and faster when you have a huge trained file in a variable.