Deprecate record function from lua
Each record store in lua currently has both record(objectOrRecordId) and records (table)
Record was added first, then the records table. Now, record IDs may be used as keys in that table, making this function redundant. We should probably remove it in the docs for 0.49, then remove it entirely after 0.49 is released.