UniformBuffer API

UniformBuffer API changed to more closely match VertexBuffer. Also
improving docs.