added learner and modified some bits of bayesact.py - moved evalSampleFvar into Agent class