Patch from Owen Taylor <otaylor@redhat.com> that makes nsWidget inherit from
nsBaseWidget. It moves the Create() functions into nsWidget for the base
creation so that the code is reused and not the same code in each file. This
patch also fixes numerous nsWindow related issues.