Fixed code for filesystem permissions checks
Add new tests for file mode check
Made api of check filesystem permissions the same as other check_-methods
Use new api in cucumber step
Added deprecation notice
Fixed method name
Fixed usage of method