Add R.extend function
Keep extend internal; document mixin
Merge pull request #173 from megawac/installto

Add R.extend function