Restructured TS map computation

As close to final as it could get today.
I'm not sure if that `Bunch` works properly on Python 3:
https://github.com/dsc/bunch/issues/17

Maybe for now put the implementation you have here into `gammapy.extern` and mention it's origin.