Improved filename_is_safe()
Show Permissions section even when groups not enabled
More filename_is_safe() work
Refactor test bootstrap to use BP tests
Removes bp-factory, which is now loaded from BP tests suite