Added wrapAround parameter to SP 

Fixes #1211
Fixes #1216

@chetan51 please review
I think we should not change the default (True), that's why the tests fail too:
https://travis-ci.org/numenta/nupic/jobs/33140167#L2531