Add sinon for js testing
Adjust sinon to work in kanso

… bit of a hack :/
export sinon correctly
Refactor, test checkDistrictConstraint

Fixes #305
Fix #305
Merge branch 'develop' of github.com:medic/kujua-lite into develop