Changed the working of view functions: now first param is the key or multiple keys, 2nd query or callback, last param is always callback