Refactor issuable metadata
What does this MR do?
Turns IssuableMetadata
concern into a class.
This makes it easier to override methods on EE and still use the same loop to query data.
This is part of #217569 (closed) where we are going
to need to include blocking_issues_count
on metadata which is an EE only property.