MyFitnessPal, a company that offers a popular app to help people lose weight, has raised $18 million in a first round of funding. The company was founded in 2005, and has been profitable since then, but has taken no outside cash until now. It boasts that it has more than 40 million registered users.