Fix indent (OMS-370)
Refactor: eliminate duplication (OMS-370)
Move and improve WhmcsCreditChecker utility (OMS-370)