Add first round of type signatures

This commit merges commit fc5e8dd from Ramda.js master.