Refactored to Latest NAN version, and added options object for Scan. closes #13