Fixes creation of 1-element uniform and sending already created uniforms in Composer

createFloat1 and createInt1 could accept value of type number but not boolean. Now it handles both.
The composer was checking if the objects it was sent as uniforms were values or already created uniforms but the isUniform() was flawed so it created uniforms containing uniforms and ... it didn't work.