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.
See defect: http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-3252. The expression is ```π = 3.1415```.