short ternary operator doesn't need spaces

The short ternary operator '?:' is an inline if followed by an inline
else and does not have a whitespace:

    $foo = $bar ?: false;
Changelog + coding standards fixes
fix preg_splite may cause some chinese character error
Updated changelog and unit tests
Changed file encoding
Add "exit" to closers for "case" and "default"

"exit" also can be closer for "case" and "default"
Added unit tests and changelog
Fixed bug #20123 : PSR2 complains about an empty second statement in for-loop
Merge branch 'master' into report-memory-improvements

Conflicts:
	package.xml