Changed from using static method to non-static

This was causing strict standard warning on php >= 5.5.
Changed define of DISALLOW_FILE_MODS

This constant can also be defined in the wp-config.php so it’s better
to check if it’s not already defined.
Merge pull request #1 from remyvv/master

Some minor bugfixes