Add signmessage and encryptwallet

Yeah, tests have to be written.