Internal combustion engines with pistons rotating or oscillating with relation to the housing