Adds logic for setPollPeriod
Adds pre-documented setPollPeriod method and updates tests
Merge #19 r=@johnnyman727: Adds setPollPeriod