modify the parameter of listtransactions

1. if account equals nil, listtransactions will return the transactions
   from all the accounts

2. add `from` parameter