First version of jquery.dialog2

First attempt. A lot's missing, but it's usable with this minimal d.ts.