Allow world argument to getPlayerPermissions() and getGroupPermissions() API methods to be null.
This also fixes a bug with the playerHas() and groupHas() implementations for Vault.