graphics: Add attribute and cube objects

Will use to generate cube vertex data for rendering tests and such.