GLSL codegen: Improve printing of floats

- use fewer digits after the decimal point for integral numbers
- use more digits to fractional number to ensure correct round trip
  conversions (binary->decimal->binary)
- add a few tests for this
Merge branch 'master' into glsl_select_vectorize

Conflicts:
	src/CodeGen_OpenGL_Dev.cpp
Fix comment