CRM-12647 - CRM_Utils_Migrate - Autoformat

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - CRM_Utils_Migrate_Export - Split run() into build() and toXML()

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - CRM_Utils_Migrate - Extract constant for special delimiter

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - CRM_Utils_Migrate_Export - Extract method addMappedXMLFields()

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - CRM_Utils_Migrate_Export - Use htmlentities

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - CRM_Utils_Migrate_Export - Cleanup

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - CRM_Utils_Migrate_Export - Pull out various bits of static metadata

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - CRM_Utils_Migrate_Export - Cleanup

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - Separate field-rewriting from XML encoding

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - Simplify. Separate field-rewriting from XML encoding

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
Cleanup
CRM-12647 - Fix misnamed variable

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - CRM_Utils_Migrate_Export - Extract renderKeyValueXML()

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - Separate field-rewriting from XML encoding

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM-12647 - CRM_Utils_Migrate_Export - Move XML rendering logic from fetch() to toXML()

----------------------------------------
* CRM-12647: Customization export/import crashes on "&"
  http://issues.civicrm.org/jira/browse/CRM-12647
CRM_Utils_Migrate_Export - Rename local vars to match config vars
CRM_Utils_Migrate_Export - Rename 'map' to 'idNameMap'
CRM_Utils_Migrate_Export - Doc comment
CRM_Utils_Migrate_Export - Formatting
CRM_Utils_Migrate_Export - Add toArray()

Unlike toXML(), this can be used with alternative serializations like json_encode() or var_export()