don't use sed's -i option to stay posix compliant

POSIX does not define sed's -i option. To stay as portable
as possible we should not relay on it.
Merge pull request #4120

dbe8f75 don't use sed's -i option to stay posix compliant (Fabian Raetz)
rpc: add `getblockchaininfo` and `getnetworkinfo`

Adds two new info query commands that take over information from
hodge-podge `getinfo`.

Also some new information is added:
- `getblockchaininfo`
  - `chain`: (string) current chain (main, testnet3, regtest)
  - `verificationprogress: (numeric) estimated verification progress
  - `chainwork`
- `getnetworkinfo`
  - `localaddresses`: (array) local addresses, from mapLocalHost (fixes #1734)
qt: periodic translations update
Merge pull request #4127

d387b8e rpc: add `getblockchaininfo` and `getnetworkinfo` (Wladimir J. van der Laan)
build: fix make clean on OSX

Rebased-From: 74df0f5
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>