Add getType and getAllOfType to ComponentOwner

Signed-off-by: Jack Huey kitskub@gmail.com
Merge pull request #552 from kitskub/master

Add getType and getAllOfType to ComponentOwner