Clean deprecations

Removes most of the code which is marked as deprecated in factorie. A lot of lines changed, but mostly automated renames. All tests pass.