No short variable names. Remove unused import.
Add `salt.utils.is_sunos`
Add `salt.utils.is_fcntl_available()`

This helper method does some additional checks if `check_sunos=True` is
passed. The reason behind this check can be read here -> http://goo.gl/159FF8
Remove unused `fcntl` check.
Remove unused `fcntl` checks.
Simplify logic
Do the additional SunOS checks when trying to lock the file handle.
Merge pull request #10520 from s0undt3ch/develop

Lint and File lock fixes