Adding several improvements about Bayesian networks (partial advance)

-- j_security
-- uberfire