Lyra flare detection

Hi all,
Here is a PR for the LYRA flare detection algorithm I've developed for the LYRA instrument team.  It would great to have it sunpy so that people beyond just the LYRA instrument team can use it.  Let me know of any comments.
Cheers,
Danny
the order of the parameters doesn't correspond with the definition of the function.