Added a getTickByYear function which will return an array of ticks.
Assumes that the ticks will be displayed by year and uses the default
tickGenerator function unless that function produces ticks between
years.

Add tests for the new function.
Merge pull request #160 from mbucknell/NAWQAAN-146

Added a getTickByYear function which will return an array of ticks.