Bug 847382:  Fix XULRunner SDK builds.  r=glandium
Bug 838467 1/N: use DOMCursor instead of SmsCursor. Interface changes.
Bug 838467 2/N: