New ObjectManager / ID class.

Didn't have much time to de optimize, but I think I did an ok job. Don't
have vs 2013 up and running yet so hopefully this doesn't break anything
Merge pull request #1 from TrevinLiberty/master

New ObjectManager / ID class.