Widget Factory: Make $.widget return the constructor

Make $.widget return the constructor to allow for mobile autoinit and jQuery AMD plugin pattern