Add getType and getAllOfType to ComponentOwner

SpoutAPI: https://github.com/SpoutDev/SpoutAPI/pull/552
Vanilla: https://github.com/Vanilla/Vanilla/pull/611

Signed-off-by: Jack Huey kitskub@gmail.com