clean up and move login into localbitcoin.js
refactor apiUrls as methods in localbitcoin.js
refactor & extract account, ticker and trades APIs