Lua binding for force dump.

Also, added a little wrapper around adding a cfunction to virgo to get rid of the copypasta.