Fix to type inferring of declared variables for code completion

When variables are declared such as:
`a : Point;` the type could be inferred by extracting 'Point' however fully qualified names such as:
`a : Autodesk.Geometry.Point` caused issues in extracting the class type. 

This submission fixes the Regex patterns used to do this string extraction for proper type extraction of declared variables in CBN for code completion.

@Benglin please review.
This test isn't ideal. The return result may be empty for various reasons, it will hide real failures away if there is any. Please see below for suggestion on how this *can be* improved.