Initial import of SimpleDOM rev 60 Mar 2010 from https://code.google.com/p/simpledom