Support TabMixPlus's "Open (New) Tab Next to Current" option

Support TabMixPlus's "Open Tab Next to Current" and "Open New Tab Next to Current" options.

Very interested in fixing this up so that it's customisable (and so don't break behaviour for other users) and/or doesn't break if TMP isn't installed, and so can be merged into the main code. Feedback very very welcome.