basis.resource#ready method implemented for async logic on init attachment

it easy now attach some logic on resource init
basis.resource('url').ready(function(res){
// this function will be called when resource init
// it also will be called on any update for updatable resources
});