Jsonplugins

move plugin description from c++ to json. first step.

This introduces a JSONRPC api change:
In DeviceClass descriptions, createMethod turned into a list createMethods.