Removed unnecessary test.
Removed unnecessary debugging code.
Tests: Written tests for node.getIndex which might return -1 when normalizing.
Added handling empty text nodes in node.getIndex and node.getAddress methods.
Added handling empty text nodes in normalize function for createBookmark2 method.