Deep initialization for constant properties

Summary: Defined constants may be ref-counted (e.g. resources) and require deep
initialization when used to initialize instance properties.

Fixes #4111

Reviewed By: @fredemmott

Differential Revision: D1658088

Signature: t1:1658088:1415137574:011205e3e604bb711437149f2ef1ed3b3be830b5