Build a new instance from CodeClass from an existing object
Test Plan:
This is used in Zed for XmlDocument serialization:
$key = CodeClass::from($value)->getShortClassName();
Unit tests provided
Reviewers: dereckson
Differential Revision: https://devcentral.nasqueron.org/D3216