Added extend method to Entity and Entity3D

The new extend method allows to simplify prototypal inheritance when creating more specific entities.
Fixed a bug with the output property of the composer object
Merge branch 'master' of https://github.com/bowserjs/bowser-engine