add tryunbox, isnull and option functions

fixes #5