Adding support for arbitrary constraints

Minor spelling correction

Adding custom constraint demo for both X and Y axis

Updating reference to document to window

Updating condition to nested if

Updating README.md and defaults comments to match

Updating constrainTo to accept array for handling arbitrary constraints
v0.4.6 - custom constraints