Added nullptr to nil translation

Checks for nil in _push pointer functions. Pushes nil to Lua in that
case.
Added test_nullptr_to_nil for testing
Merge branch 'nullptr_to_nil'