Added [listing_search] shortcode and fixed widget

Added [listing_search] shortcode and common function