Consider project specific formatting settings for auto format

A fall back to the workspace wide formatting settings happens if the
project settings couldn't be accessed.

Fixes #1002331
Merge pull request #851 from sschaef/project-specific-auto-formatting

Consider project specific formatting settings for auto format