do not rely on reported arity in R.memoize
Merge pull request #613 from davidchambers/memoize

do not rely on reported arity in R.memoize
use a single state variable in R.once implementation