feat(if): add conditional "if" function

Adds a conditional function that can be used for the some of the following situations:

```
R.each(R.if(Array.isArray, function() {
    // Perform operation only on arrays in our list
}));

// Flatten all arrays in the list while keeping all other value types
var flattenArrays = R.map(R.if(Array.isArray, R.flatten, R.identity));
```
I wanted to keep the test as simple as possible without relying to much on other functions in the library. I can change it if that is the preferred method.