Project SLA: Bugfixes

1. Refactored analytic_account.reapply_sla method
   added check for 'cancel' state. and removed unneccessary search for
   project_ids
2. Bugfix for calculationg of SLA status ported from 8.0 branch
3. In SLA Controlled model mixin, store SLA logic moved to separate
   method