Added a test case for an issue that resulted in STOREing a SORT with
multiple GETs fails.
A fix for an issue the prevented STOREing SORTs that contained multiple
GETs.

When using multiple GETs, Redis#sort expects the return to be an array.
However, combined with a STORE clause, the SORT will return an integer
representing the number of keys stored in the STORE list. The fix checks
if the reply from the Redis client is an integer, and if it is, it does
not attempt to process it as an array.
Minor refactoring to give some context to the code
Refactored to remain closer to original method
Merge pull request #328 from adammulligan/master

Sorting with multiple GETs fails to STORE