Fixed check of has_data in wake's success callback
Added support for using a model/collection instance as a widget's resource;
 Replaced default returned value of getData from toJSON() to models || attributes