Add shouldAutorotate support to PM::TabBarController

Fixes issue #533.