First release of JSON RPC

Added lots of new features:
config file support.
json-rpc notifications of stats, shares and settings.
removed getwork mode.
added -quiet and -silent options.
replaced all printf's with std::cout.

Needs serious testing.