int comparison rather than string comparison of octal values; zero paddi...

Invocation of the following command (setting the permissions of /tmp to 1777) would result in a change although the mode requested matched the existing mode of the /tmp directory.  Running the same command repeatedly returns the same result. This pull request would change the comparison used by the check_perms function to convert both sides of the comparison to integers so that differences in string representation will not cause spurious mismatches.

```
saltdev)[root@xxxx states]# salt-call file.check_perms /tmp '{}' root root 1777 --local
local:
    ----------
    - changes:
        ----------
        mode:
            1777
    - comment:
        
    - name:
        /tmp
    - result:
        True
    ----------
    - lgroup:
        root
    - lmode:
        01777
    - luser:
        root
```