Added reverse option to getscores for scoredsetlayer.js.  Includes test additions to exercise the reverse option.