Added RPC method alias find(set vars, set patterns, set filters, set agents)

This improves conformance to the KB-API.

While here, better handle the JSON 'null' value when lists
or map are expected.