add types for marathon 0.7.0

This is not thoroughly tested and I'm not sure I got all the changes.

When committing this, the types will be incompatible with versions prior to 0.7.0. Also, this should probably not be merged until 0.7.0 is properly released.

Thanks!