Rewrote actor scheduler to not use Lua objects

The actor scheduler now uses native C structs to manage the run
queues rather than using "structs" that exist within Lua tables.