Alarm.com's results were bolstered by robust revenue growth despite facing increased expenses and macroeconomic challenges.