Move ObjectDiff into util
Move Codec functions to their own file
Merge pull request #1693 from smarterclayton/move_diff

Minor moves of functions into their own files