Support active patterns in signature generation

Close #685.
Use indentation from Visual Studio options
Don't regenerate contents of open buffer

Close #680.
Support union cases and record/enum fields

Fix #685.
Add another active patterns

Restructure TypedAstUtils for readability.
Merge pull request #691 from dungpa/go-to-metadata

Bugfixes for Go to Metadata