[MRG] unit test fixes

* turn off graphical back-end in matplotlib
* disable RooFit/RooStats tests if those components of ROOT were not built