Added a check for existence of wp_get_theme()

Added a check for existence of wp_get_theme() to allow theme to support
Wordpress versions older than 3.4.