Merge pull request #27 from rinold/master

Fixing implicit merge conflict of Light re-factoring and ChainLight
Merge pull request #28 from rinold/master

Replaced staticUpdate() calls with dirty flag for better static lights performance
Merge pull request #31 from rinold/master

Completed all Light types re-factoring
Fixing non-attached ChainLight with null body

Calling of applyAttachment should be skipped if no attached body were provided
Temporary fix for build failure