Issue #2361795 by rpayanm: Remove decode_entities.
Issue #2358999 by rpayanm, JeroenT, er.pushpinderrana, javivf, Ec1ipsis, aczietlow | Les Lim: Remove usage of drupal_html_to_text().
Issue #2361797 by rpayanm, Palashvijay4O, er.pushpinderrana: Remove usage of drupal_strlen().
Issue #2268753 by amateescu, larowlan, mikemiles86: Fixed Cleanup EntityReferenceController's create() method.