Add TIME_CURVE GQL function

Returns the named time curve and attribute as a hash.