Begin moving JSON-RPC API implementations out of rpc_server.cpp into the client object. rpc_server.cpp will only be responsible for converting JSON parameters/return values, leaving us with a C++ API in client that mirrors the JSON-RPC api. This will also ultimately help us to write tests that can be re-used for testing with and without the networking code enabled.
Merge branch 'master' of https://github.com/BitShares/bitshares_toolkit
delegate update and add comments
Merge pull request #102 from vikramrajkumar/master

Fixes
Merge remote-tracking branch 'upstream/master'
fix todos
implement operation_factory, for sub chain operation extension
Continuing trivial migration of API implementations to client object. Moved wallet open, create, export, lock, unlock, and change passphrase methods. Minor cleanups to return types, etc, also.
Fixing tests.
more RPC API migration to client object and minor code review changes
Merge branch 'master' of https://github.com/BitShares/bitshares_toolkit
delegate ranking is only updated once per round (every BTS_BLOCKCHAIN_NUM_DELEGATE blocks)
Merge branch 'master' of https://github.com/BitShares/bitshares_toolkit
Merge remote-tracking branch 'upstream/master'
Fix build: add missing #include <algorithm>

I couldn't build without this include line. Added it to fix build.
Merge branch 'master' of github.com:BitShares/bitshares_toolkit
Fix bug with closing/reopening wallet
Merge branch 'master' of github.com:BitShares/bitshares_toolkit
updating fc
fix bugs, resolve conflicts