Fixed issue for special characters handling in XML

- Fixed issue for special characters handling in XML.
- Added Form ID while assigning forms to C&P Payment Gateway form
Tested with WordPress 3.9.1 and Gravity Forms 1.8.7