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 pattern breaks localization. There is a bug about fail to recognize Germany word as variable.