Adds explanation for attenuation factor in osg.Light
Cleans the compiler code
Removed unsused code, simplified code when possible, change some functions names to be more explicit