Add some analyzer and fix around ternary operators

Also use more language features from C# 6 that were introduced in VS14
CTP2