add 'skipTrivia' parameter to scanner
Merge pull request #696 from Microsoft/format_code

add 'skipTrivia' parameter to scanner