mark controller_base::get_theme as static

This makes it more obvious what side effects it has