Several bugs - changes for RHEL7

This does not compile on RHEL6 and I don't know why - dont merge yet:

```
/usr/bin/checkmodule:  loading policy configuration from tmp/foreman.tmp
foreman.te":258:ERROR 'syntax error' at token 'files_rw_inherited_generic_pid_files' on line 11191:
#line 258
    files_rw_inherited_generic_pid_files(passenger_t)
```