use factorie optimizer from RC1, add tests for logistic (not really working?)