Sel returns dataset when :rows :all specified

Before the fix a simple list was returned for datasets with a single row
when :cols :all :rows :all was used. Although sel is supposed to return
simple lists only when at least one of the query params :rows and :cols
is an atomic object (index or name).

Fixes github issue #235
Merge pull request #259 from nblumoe/fix/sel-on-dataset-with-single-row

sel returns dataset when :rows :all specified
bugfix for #261
fixed test to handle new rank-index function
Merge pull request #262 from etosch/master

bugfix for #261
Merge remote-tracking branch 'upstream/master' into sub-build