Added a new argument to 'getnewaddress' - 'rawpubkey' - that makes it return an object with both the address and the pubkey in hexadecimal form.
This is useful for programs that interact with the bitcoin network at a lower level (namely, handling public key data) such as p2pool.