[FIX] Notifications should include executed trades (RT-1667)
[FEATURE] Add Trend in Balance

Also crafted the auto-width dropdown.
[FEATURE] In Send/Convert, user should be able to specify the gateway (RT-1790)
[FEATURE] Export history as a .csv

Add rpDownloadCsv attribute to rpDownload directive to specify that data
is downloaded as csv format.
[FEATURE] Export history as a .csv

Add button that triggers download of displayed History to CSV file.
[FEATURE] Export history as a .csv

Add exportCsv function and associated helper functions to extract the
displayed Transaction History into a string with a comma-delimited line
for each history entry.
[FEATURE] Export history as a .csv

Add getAmountSent function to calculate the amount sent if possible.
This was refactored from loadTx() in tx.js

In processTxn, add the following to returned transaction object:
- amountSent:  (together with currency if not XRP)
- sendMax: SendMax if it exists as an object (not if just String)
[FEATURE] Export history as a .csv

Move code within loadTx() that calculates amount sent to getAmountSent()
in jsonrewriter.js and invoke that instead.

NB the code that was moved to getAmountSent() has been changed to fix a
bug: the amount sent was not being calculated when the send and receive
currencies are different and one of them is XRP.
[FIX] Books: Convert xrp funded amounts to integer
[FEATURE] Export history as a .csv

Correct for renamed function getAmountSent
Merge pull request #1441 from vhpoet/orderbook

[FIX] Books: Convert xrp funded amounts to integer
[FIX] Books: Make sure parseInt doesn't get an exponential number as a string
[TASK] Update ripple lib
[FIX] Login: fix auth info error message
Merge pull request #1444 from annatonger/fix/blobtext

[FIX] login: change auth info server error message
Merge pull request #1443 from vhpoet/orderbook

[FIX] Orderbook fixes
Bump version to 1.0.5
Merge branch 'release' into develop
Merge pull request #1437 from orzFly/feat/trend

[FEATURE] Add Trend in Balance
Merge pull request #1439 from bss-/export-history-csv

[FEATURE] Export history as a .csv