Refactored changenodes so that we now have a file with the logic
predicates and one with regular clojure functions.

Added functionality to normalize changes.