New compose2 + optimized compose

Updated compose to a more efficient implementation based on compose2 as described in
https://github.com/CrossEye/ramda/issues/53