Added support for default attribute values.

If attributes are used by a shader but not supplied in the data, default
values can be assigned.
When a shader is created, default values for "color", "uv" and "uv2" are
automatically created.
Code clean up.
Updated builds.