Move capitalize helper function to Utils
Fixes #99, filter out already attached images from media manager