Fix newline regression

 * 45a32f444a7eed48e691b31931091a02185e06b6 introduced a bunch of
   regressions because handlers weren't being called on body.

 * Noticed an infinite recursion when the callHandler removes the node
   it's acting on from the dom. The sanity check returns that node and
   round and round we go. This was introduced in
   eb0ef03b47bfd0153edf5750b1f2922c8ddb0d9e.

   The sanity check should be asserted and traverses fixed, or removed.

 * Finally, some functions being passed to the logger need to be
   stringified.

Change-Id: I931c4829ee5fa798201bd02c0554fca222fdb118