fixed bug in ViewQuery.clone() + fixed regression in getKey() getStartKey() getEndKey() methods

those bugs were introduced in issue #181