Update config.js

Allow configuration of mail by advice-type.
Update mailer.js

only send mail of the type declared in the config.mail.what array.
refresh portfolio stats every 11 minutes

some users would prefer the cex.io portfolio balance should be refreshed periodically with more current BTC balance (as a result of BTC withdraw, deposit, mining new coin with the GHS, etc.)

this commit will affect all exchanges, not just cex.io

refresh period is 20 minutes
actually refresh the portfolio before displaying balance

bugfix for gekko having a stale internal state which doesn't match the actual balance in portfolio
Fix for issue 72?

Call me crazy, but if this is return false, this function will always return false, since emptyBucket defaults to true, and therefore the call to set emptyBucket to false will never execute?
fixed exchange checker
Update btce.js
Gekko can't pull GHS balance from cex.io

issue 63
Merge pull request #84 from Devouring/master

Gekko can't pull GHS balance from cex.io
abstracted out exchange config checker
Merge pull request #62 from ItsLeeOwen/config-mail

Config email by type of advice
merge latest from main
Merge pull request #67 from kuzetsa/refresh-balance

Refresh & log updated portfolio balance so that advice & trading is not based on old data
typo in auth checker
added config and log folders, log folder and config/user folder both ignore all files, just a nice trick to have the default folder structure setup for scripts and such
only refresh portfolio when using cex.io
removed code duplication
updated exchanges explenation
Merge pull request #85 from streetlogics/master

Fix for issue #72
reverted false bugfix (see pull/85)