WIP for improved pool blockstats.
Adds JS and wiring for a "current" block row for each currency, which includes JS updated elements like luck% and share count
Adds basic frame for algo tabs, needs wiring to make functional
Improved block stat functionality basically completed, ready for testing on staging
Adds JS functionality to tabs
Fixes scheduled server_status() to set a short lived cache value
Improves block table UI
Updates JS logic to handle multiple currencies gracefully
Add some scrypt currencies to defaults.toml
Changes from using loop index to instead use currency code
Changes current round status to Idle if there is 0 hashrate
Fixes block.timestamp property
If a cached value for round start was not found then use the most recent block, if there is one
Minor cleanups in JS
A little bit of cleanup. Catches a few errors when cache data isn't present
Fix actually setting defaults
80% refactor of /pool_stats endpoint.
Moves all logic out to utils.py
All data in a nested dictionary format w/ default values
Eliminates passing objects when unnecessary
Still has a few bugs, needs more testing
Fix refactor errors
Set default if no currency cache exists
Odds are good that this will fix the Luck bug
Remove commas to allow JS to parse the full number
Fix some styling issues
Set current round 'status' serverside
Don't hide blocks table if there aren't any, we still want to show the current round (even if its empty)
Hide the 'View more Blocks' div if there aren't any blocks
Minor rounding + formatting improvements
Bug fix for correctly pulling block 'start_time' from cache'
Merge pull request #133 from simplecrypto/pool_blockstats_upg

Pool blockstats upg