Detect collection length in each(), for performance boost on single-element collections
Support non-namespaced attributes on HTML elements
Unsupported browsers have 'about:blank' as toDataURL() return value
Use attr() method in toCanvas()
Add hack for Safari 6.0.5 to successfully render image on canvas (required to be in the DOM before load)
Use viewBox attribute in resizeToContent to reposition contents and crop whitespace
Fix vars in markup()
Revise tests
Revise bbox(); add crop() and conditional checks hasSvgNamespace(), isRoot() and isInDocument()