Separated code completion queries into CodeCompletionServices

This pull request separates code completion queries into a `CodeCompletionServices` class and out of the `CodeBlockEditor` UI component so that it can be tested independent of the UI, `DynamoModel` etc. with its own core and own set of libraries. This is part one of a series of submissions involving this change. The PR's that will follow will include calls into `CodeCompletionServices` from the UI as well as rewritten unit tests making use of only `CodeCompletionServices`.

@Benglin please review.
It isn't immediately apparent to me what value should this be of in order to get a higher priority. Is there a guideline about what I should assign to this value? If so then perhaps it needs to be documented here. If not, then it makes us question the practicality of this property.