Stricter type checks. Add ErrorCode type.
Update parameter names of goScrollCB.

The scroll callback handles x and y offsets, not positions.
Merge pull request #13 from mewpull/master

Stricter type checks and updated parameter names of goScrollCB.