Fix for issue #2789 (matlab formatter)

Add MatlabFormatter for matlab style output.
See http://code.opencv.org/issues/2789