Fix #376: Output `m2t` from `getAxisOptions`

This is needed to handle custom color definitions in axis options.

Note that `m2t` is returned before `opts` such that it is inconvenient to
get the `opts` without `m2t`.
Merge branch 'issue376'