Added generic parameter for CommandBuffer

Closes https://github.com/gfx-rs/gfx-rs/issues/321