Medley invested in payday-shop chain Allied Money Holdings LLC