Function to convert flare class into GOES flux

Thought this might be useful, but I didn't really know where to put it, so it's in goes.py for now. But I'm quite happy to move it elsewhere if anyone has a better idea.
An example would be appreciated :) 
Also, specifying that a `flareclass` is string.