Changes from encapsulated IntrinsicObject to direct intrinsics instantiated by IntrinsicObjectModel

- Adds IntrinsicObjectModel. Removes IntrinsicObject.

- Updates Line example and tests to use new model.

- Updates IntrinsicObjectTest to use and test new model.