Scripting|libcore: Instantiating a class record

Any record can be instantiated using the call operator. This
automatically calls the __init__ method if one exists in the class
record.