removed useless scope brackets and fixed indentation so this won't lead to a merge conflict in the future.
Watchonly transactions are marked in transaction history
Added argument to getbalance to include watchonly addresses and fixed errors in balance calculation.
Added argument to listaccounts to include watchonly addresses
Showing 'involvesWatchonly' property for transactions returned by 'listtransactions' and 'listsinceblock'.
It is only appended when the transaction involves a watchonly address.
Added argument to listtransactions and listsinceblock to include watchonly addresses
fixed tiny glitch and improved readability like laanwj suggested