Add CIE1931 lightness correction to stellalight which makes dimming more...

... linear
If you really want functions to be inlined you have to but them in the same translation unit they are used from, i.e. declaration and definition should be in the header file.