Lucky loser Danilovic claims maiden WTA title in Moscow