Make the following safe in lua: delete(nil); double delete(); delete() followed by GC
Merge pull request #151 from mcclure/gcfix

Make delete() safe to use