loop around when reaching top/bottom of matches

Conflicts:
	selecta
whitespace
simplify selection wrapping with modulo
update specs to new RSpec assertion syntax
Merge branch 'loop-at-end-of-list'