Add support for actionBar to all activities except for Preferences screen. Move common menu-creation and processing functionality to a base class