Fixed undefined $ in dispose() method for non-jquery instances

For none-jquery instances `dispose` method of baron instance throws error "undefined is not a function". Updated core and corresponding tests.