Merge pull request #150 from peschue/ps

Made maxiterations work also for BatchTrainer and ParallelBatchTrainer
fixes to the new ChainModel changes so that they can handle weights that aren't DenseTensor2's. This arises, for example,  when you use adagradrda for learning
Merge branch 'master' of https://github.com/factorie/factorie
Merge pull request #152 from davidBelanger/chain-model-fixes

Chain model fixes
source encoding