Battle fix

Fix battle invade/duel - the page layout changed a while back
apparently, and as a result, Battle invade or duel only read the first
target
Reduce battle invade/duel refresh frequency - with the default set up,
battle would mash the refresh on the battle page up to 20 times in 45
seconds, despite the page having a refresh time of one minute. We want
to avoid this kind of load on the CA servers. I reduced to two refreshes
per minute.
Fix for FB not loading due to hyper function not defined
Fix for hyper default local storage entry not having outside parentheses
Fix for NaN setting sometimes for max stamina or energy
Merge pull request #174 from Artifice/master

Battle fix