allow behaviour specifying through an options object
tests for strict vs. nonstrict
Merge pull request #52 from Pomax/override

allow behaviour specifying through an options object