fix server death when fatsecret is down
utilize angular promises and cleanup yucky timeout/retry code