Small improvements

Moved option merging out of constructor
Fixed value check ('undefined' can be defined)
Added property check to options in helper
Added more small fixes

Switched to an immediately executed anonymous function
Added a few functions to the "public" list
Added some jsdoc comments to functions with optional parameters
Added some casting code for int to string conversions