renderers can now provide their own 'split()' function to split markup into block according to their own rules. also added qunit for unit tests.