Merge QNSWindow and QNSPanel, inherit NSPanel and hope for the best

Change-Id: I2ad6b599e93202de8f40f401f708a03e38cb0b87