worked on shortcode for petitions(CRM-12818)

worked on shortcode for petitions