Add blockchain_is_synced RPC call

New API call to check if local chain is synced with network.
Returns true iff head block age is less than one round.