Allow setting document and window context explicitly

Currently, nanoScroller uses the main `document` and `window` objects to wire up events. This causes problems when a scrollable area is instantiated inside an iframe by a parent frame. 

This change allows passing a specific document and window context via options so that scroll/resize/mousemove events are be wired up correctly.