Start refactoring skinned_mesh into reusable pieces.

Signed-off-by: John McCutchan <john@johnmccutchan.com>