Lightcurve edditions

This PR depends of pull request #31 because the background colour added to the listings.

It also contains some fixes as Listing references number (label must go after of caption and not before), and some other styles changes to keep it similar to other sections.