Restructured TS map computation

As close to final as it could get today.
Use relative (not absolute) imports like everywhere else in `gammapy`.