Added warning if asWidget is called while being null

Your're gonna end up with an NPE anyways if GWT calls this and it returns null. This just returns a more descriptive message. UIObject does similar with setElement() / getElement()