Filter related content ids by ContentType Id

Hi,
this pull request adds the ability to filter related contents by ContentType ID. I just added a new parameter to the <code>getRelatedContent()</code> and <code>getRelatedContentCount()</code> methods.