Refactored code to use transform. Runs.

- Added dirty flag to transform.
- Temporarily made local transform in transform_component public. Need to design interaction
  between the two to see if there is a cleaner way to do transformation heirarchies than
  what I did in the past. Maybe some kind of inheiritance relation between the two (where
  get_pos will imply local, world would need explicit specification).