add tryunbox, isnull and option functions

fixes #5
Merge pull request #7 from mexx/fix-5

add tryunbox, isnull and option functions