Sort view nodes inside box

new method ns.hasClass and fix failing test
add mutationobserver-shim for tests and a test about not mutating DOM when it is not needed
test about sorting deeply nested views: should sort only sibling nodes