Add support for debuglevel RPC command.

Also include the supported subsystems in the error message if an invalid
subsystem is specified.

Closes #15.