Use is.fn instead of is.aFunction
Updating foreach and package version.
Merge pull request #4 from ljharb/is_fn

Using is.fn instead of is.function